Add config for season 2025

This commit is contained in:
2024-07-28 21:10:18 +02:00
parent 163b313649
commit dabedcfbb1
15 changed files with 916 additions and 11 deletions

View File

@@ -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);
}
}

View File

@@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchdaysCreatorTest {
int season = 2023;
int season = 2025;
@Test
public void getMatchdaysTippligaTest() {

View File

@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchesCreatorFootballTest {
int season = 2023;
int season = 2025;
@Test
public void getMatchesTest() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesCreatorTipperPokalTest {
int season = 2024;
int season = 2025;
@Test
public void getMatchesWTLPokalTest() {

View File

@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchesCreatorTipperTest {
int season = 2024;
int season = 2025;
@Test
public void getMatchesTippliga1Test() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesUpdaterFootballTest {
int season = 2024;
int season = 2025;
@Test
public void getUpdateSqlTest1() {
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(season, 1, "Tippliga");

View File

@@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
public class TLWTeamsCreatorTest {
int season = 2024;
int season = 2025;
@Test
public void getTeamsTippligaFootball1Test() {

View File

@@ -6,8 +6,8 @@ public class MatchesListForumUpdaterTest {
@Test
public void updateAllLeaguesTest() {
MatchesListForumUpdater updater = new MatchesListForumUpdater(2022);
// updater.updateAllLeagues(2022);
MatchesListForumUpdater updater = new MatchesListForumUpdater(2025);
updater.updateAllLeagues(2025);
}
@Test