Add config for season 2025

This commit is contained in:
2024-07-28 21:10:18 +02:00
parent 017a33f178
commit c70bfe4b11
15 changed files with 916 additions and 11 deletions
@@ -4,6 +4,8 @@ import org.junit.Test;
public class APIFootballUpdaterTest {
int season = 2025;
@Test
public void checkErrorsTest() {
String exceededLimitDayError = "{\"api\":{\"results\":0,\"error\":\"You have reached the request limit for the day\"}}";
@@ -25,7 +27,7 @@ public class APIFootballUpdaterTest {
@Test
public void updateAllFixturesTest() {
APIFootballUpdater updater = new APIFootballUpdater();
// updater.updateAllFixtures();
updater.updateAllFixtures(season);
}
@Test
@@ -37,6 +39,6 @@ public class APIFootballUpdaterTest {
@Test
public void updateAllRoundsTest() {
APIFootballUpdater updater = new APIFootballUpdater();
// updater.updateAllRounds();
updater.updateAllRounds(season);
}
}