Beispiel #1
0
        public void TestInitialize()
        {
            chromeDriver = new ChromeDriver();

            IUserManager userManager = DbInitializer.CreateUserManager();
            AccountController _acountController = new AccountController(userManager);
        }
 public void TestInitialize()
 {
     _accountController = new AccountController(ContextEnum.BeatBuddyTest);
     var migratorConfig = new Migrations.Configuration();
     migratorConfig.TargetDatabase = new DbConnectionInfo(ContextEnum.BeatBuddyTest.ToString());
     var dbMigrator = new DbMigrator(migratorConfig);
     dbMigrator.Update();
 }