Exemple #1
0
        public TransactionTest(TransactionIntegrationTestSetup setup)
        {
            var connectionString = new ConnectionStringsForTest().GetConnectionString(setup.DatabaseName);

            _databaseConnection = new DatabaseConnection(connectionString);
        }
Exemple #2
0
        public TransactionIntegrationTestSetup()
        {
            var connectionString = new ConnectionStringsForTest().GetConnectionString("master");

            new DatabaseHelperFactory().GetDatabaseHelperForType(Database.Main, connectionString, DatabaseName).ResetDatabase();
        }