public static async Task EmptyAndFillDatabases() { DatabaseLoginTestFiller dbFiller = new DatabaseLoginTestFiller(); await dbFiller.ClearDatabaseTestRecords(); await dbFiller.FillDatabaseTablesWithDummyData(); }
public async Task Setup() { await DatabaseLoginTestFiller.EmptyAndFillDatabases(); string connectionString = DatabaseConnectionString.GetAzureConnectionString("logintest"); LoginService.dataAccess = new DataAccessImplMySql(connectionString); }