Exemple #1
0
 public static void InitializeClass(TestContext ctx)
 {
     if (!TestingDatabaseCreationUtils.InitializeDatabaseSchema())
     {
         throw new Exception("Failed to initialize database schema. See logged error for details");
     }
     TestApi = new UserSettingsApi(10000);
     if (!TestingDatabaseCreationUtils.InitializeUsers())
     {
         throw new Exception("Failed to initialize users in database. See logged error for details");
     }
 }
 public void Init()
 {
     instance = new UserSettingsApi();
 }