Пример #1
0
        public void IntegratedBeforeEachTestFixture()
        {
            DatabaseCleaner  = App.Container.GetInstance <IDatabaseCleaner>();
            DatabaseMigrator = App.Container.GetInstance <IDatabaseMigrator>();

            App.Log.Info("Running Database Migration");
            DatabaseMigrator.UpdateSchema();
        }
Пример #2
0
            public Task Execute()
            {
                _databaseMigrator.UpdateSchema();

                return(Task.CompletedTask);
            }
Пример #3
0
 public override void Execute()
 {
     _databaseMigrator.UpdateSchema();
 }
Пример #4
0
 public void IntegratedBeforeEachTestFixture()
 {
     Log.App.Info("Running Database Migration");
     _databaseMigrator.UpdateSchema();
 }