public void TestInitialize()
 {
     userManager = new UserManager(new UserRepository(new EFDbContext(ContextEnum.BeatBuddyTest)) );
     var migratorConfig = new UI.Web.MVC.Migrations.Configuration();
     migratorConfig.TargetDatabase = new DbConnectionInfo(ContextEnum.BeatBuddyTest.ToString());
     var dbMigrator = new DbMigrator(migratorConfig);
     dbMigrator.Update();
 }
        public void TestInitialize()
        {
            userManager = new UserManager(new UserRepository(new EFDbContext(ContextEnum.BeatBuddyTest)));
            var migratorConfig = new UI.Web.MVC.Migrations.Configuration();

            migratorConfig.TargetDatabase = new DbConnectionInfo(ContextEnum.BeatBuddyTest.ToString());
            var dbMigrator = new DbMigrator(migratorConfig);

            dbMigrator.Update();
        }