Add config for season 2025
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user