Beispiel #1
0
        public void OneTimeSetup()
        {
            ProcessLocks.AddDb("Manufacturing");

            var schema =
                SqlTestUtil.UpdateMigrations <DbMigrations.V001.V000.Rev0_Empty>(
                    schemaName:             "Manufacturing",
                    migrationsSourceFolder: Path.Combine(TestUtil.ProjectPath(), "../Module/DbMigrations"));

            _sessionFactory  = new Lazy <ISessionFactory>(() => Registry.BuildSessionFactory(schema.ConnectionString));
            _testServerSetup = new SetupTestServer <TestStartup>();
        }
Beispiel #2
0
 public void OneTimeSetup()
 {
     _testServerSetup = new SetupTestServer <TestStartup>();
 }