public void SetUp() { Config = DbConfig.Default; Config.StorageSystem(ConfigDefaultValues.FileStorageSystem); Config.LoggerType(typeof(ConsoleLogger)); using (var controller = DbController.Create(Config)) { if (controller.DatabaseExists(testDbName)) { controller.DeleteDatabase(testDbName, testDbAdmin, testDbPass); } } }
public void SetUp() { Config = DbConfig.Default; Config.StorageSystem(ConfigDefaultValues.FileStorageSystem); Config.LoggerType(typeof (ConsoleLogger)); using (var controller = DbController.Create(Config)) { if (controller.DatabaseExists(testDbName)) controller.DeleteDatabase(testDbName, testDbAdmin, testDbPass); } }