public SchemaMigrationExecutorTests() { LogHelper.Register(new ConsoleLogger(), "Default"); _sb = new StringBuilder(); _tasks = new List<IMigrationTask>(); _tasks.Add(new Migration2(_sb)); _tasks.Add(new InstallerTask(_sb)); _tasks.Add(new Migration1(_sb)); var runner = new FakeRunner(); _schema = new SchemaMigrationExecutor(runner, _tasks,"TestSchema"); }
public SchemaMigrationExecutorTests() { LogHelper.Register(new ConsoleLogger(), "Default"); _sb = new StringBuilder(); _tasks = new List <IMigrationTask>(); _tasks.Add(new Migration2(_sb)); _tasks.Add(new InstallerTask(_sb)); _tasks.Add(new Migration1(_sb)); var runner = new FakeRunner(); _schema = new SchemaMigrationExecutor(runner, _tasks, "TestSchema"); }