diff --git a/src/main/resources/Tippliga/2025_Ligen.json b/src/main/resources/Tippliga/2025_Ligen.json new file mode 100644 index 0000000..2ce3ae5 --- /dev/null +++ b/src/main/resources/Tippliga/2025_Ligen.json @@ -0,0 +1,97 @@ +[ + { + "country": "Germany", + "name": "Bundesliga", + "league_id": 6375 + }, + { + "country": "Germany", + "name": "2. Bundesliga", + "league_id": 6387 + }, + { + "country": "Germany", + "name": "3. Liga", + "league_id": 6443 + }, + { + "country": "Germany", + "name": "Regionalliga - Bayern", + "league_id": 6472 + }, + { + "country": "Germany", + "name": "Regionalliga - SudWest", + "league_id": 6471 + }, + { + "country": "Germany", + "name": "U19 Bundesliga", + "league_id": 6572 + }, + { + "country": "Germany", + "name": "Frauen Bundesliga", + "league_id": 6510 + }, + { + "country": "Germany", + "name": "DFB Pokal", + "league_id": 6244 + }, + { + "country": "Germany", + "name": "Super Cup", + "league_id": 6247 + }, + { + "country": "England", + "name": "Premier League", + "league_id": 6280 + }, + { + "country": "Spain", + "name": "La Liga", + "league_id": 6284 + }, + { + "country": "Italy", + "name": "Serie A", + "league_id": 6374 + }, + { + "country": "France", + "name": "Ligue 1", + "league_id": 6315 + }, + { + "country": "Turkey", + "name": "Süper Lig", + "league_id": 6447 + }, + { + "country": "Netherlands", + "name": "Eredivisie", + "league_id": 6522 + }, + { + "country": "World", + "name": "UEFA Champions League", + "league_id": 6281 + }, + { + "country": "World", + "name": "UEFA Europa League", + "league_id": 6283 + }, + { + "country": "World", + "name": "UEFA Europa Conference League", + "league_id": 6282 + }, + { + "country": "World", + "name": "UEFA Super Cup", + "league_id": 6241 + } +] \ No newline at end of file diff --git a/src/main/resources/Tippliga/Team_ID_Matcher_Config.json b/src/main/resources/Tippliga/Team_ID_Matcher_Config.json index 58c399e..f8e40a6 100644 --- a/src/main/resources/Tippliga/Team_ID_Matcher_Config.json +++ b/src/main/resources/Tippliga/Team_ID_Matcher_Config.json @@ -1243,5 +1243,25 @@ "teamname": "Georgia", "tippligaID": 751, "apiFootballID": 1104 + }, + { + "teamname": "TuS Koblenz", + "tippligaID": 32, + "apiFootballID": 1648 + }, + { + "teamname": "Phönix Lübeck", + "tippligaID": 650, + "apiFootballID": 12831 + }, + { + "teamname": "Alemannia Aachen", + "tippligaID": 7, + "apiFootballID": 4259 + }, + { + "teamname": "Borussia Hildesheim", + "tippligaID": 651, + "apiFootballID": 12742 } ] diff --git a/src/main/resources/Tippliga/Tipper_Team_Config.json b/src/main/resources/Tippliga/Tipper_Team_Config.json index 9167a76..5902374 100644 --- a/src/main/resources/Tippliga/Tipper_Team_Config.json +++ b/src/main/resources/Tippliga/Tipper_Team_Config.json @@ -31,7 +31,7 @@ }, { "team_id": 2058, - "team_name": "Nicole (TG Rhön)", + "team_name": "Nicole", "team_name_short": "Nicole" }, { @@ -278,5 +278,10 @@ "team_id": 2137, "team_name": "Johannes", "team_name_short": "Johannes" + }, + { + "team_id": 2138, + "team_name": "TG ChatGPT", + "team_name_short": "ChatGPT" } ] diff --git a/src/main/resources/Tippliga_Configs/tl_2025.json b/src/main/resources/Tippliga_Configs/tl_2025.json new file mode 100644 index 0000000..2c34ef0 --- /dev/null +++ b/src/main/resources/Tippliga_Configs/tl_2025.json @@ -0,0 +1,435 @@ +{ + "numberOfMatchdays": 39, + "matchesPerMatchday": 12, + "pointMode": 4, + "pointsTendency": 1, + "pointsDifference": 2, + "pointsDirectHit": 3, + "ko": 0, + "matchdayConfig": [ + { + "TLWMatchday": 1, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6387, + "leagueMatchday": 1, + "showTable": false + } + ] + }, + { + "TLWMatchday": 2, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6387, + "leagueMatchday": 2, + "showTable": false + } + ] + }, + { + "TLWMatchday": 3, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 1, + "showTable": true + } + ] + }, + { + "TLWMatchday": 4, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 2, + "showTable": true + } + ] + }, + { + "TLWMatchday": 5, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 3, + "showTable": true + } + ] + }, + { + "TLWMatchday": 6, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 4, + "showTable": true + } + ] + }, + { + "TLWMatchday": 7, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 5, + "showTable": true + } + ] + }, + { + "TLWMatchday": 8, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 6, + "showTable": true + } + ] + }, + { + "TLWMatchday": 9, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 7, + "showTable": true + } + ] + }, + { + "TLWMatchday": 10, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 8, + "showTable": true + } + ] + }, + { + "TLWMatchday": 11, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 9, + "showTable": true + } + ] + }, + { + "TLWMatchday": 12, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 10, + "showTable": true + } + ] + }, + { + "TLWMatchday": 13, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 11, + "showTable": true + } + ] + }, + { + "TLWMatchday": 14, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 12, + "showTable": true + } + ] + }, + { + "TLWMatchday": 15, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 13, + "showTable": true + } + ] + }, + { + "TLWMatchday": 16, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 14, + "showTable": true + } + ] + }, + { + "TLWMatchday": 17, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 15, + "showTable": true + } + ] + }, + { + "TLWMatchday": 18, + "matchesConfig": [ + { + "type": "Placeholder", + "placeholderDatetime": "2024-12-26 18:00:00" + } + ] + }, + { + "TLWMatchday": 19, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 16, + "showTable": true + } + ] + }, + { + "TLWMatchday": 20, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 17, + "showTable": true + } + ] + }, + { + "TLWMatchday": 21, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 18, + "showTable": true + } + ] + }, + { + "TLWMatchday": 22, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 19, + "showTable": true + } + ] + }, + { + "TLWMatchday": 23, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 20, + "showTable": true + } + ] + }, + { + "TLWMatchday": 24, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 21, + "showTable": true + } + ] + }, + { + "TLWMatchday": 25, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 22, + "showTable": true + } + ] + }, + { + "TLWMatchday": 26, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 23, + "showTable": true + } + ] + }, + { + "TLWMatchday": 27, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 24, + "showTable": true + } + ] + }, + { + "TLWMatchday": 28, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 25, + "showTable": true + } + ] + }, + { + "TLWMatchday": 29, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 26, + "showTable": true + } + ] + }, + { + "TLWMatchday": 30, + "matchesConfig": [ + { + "type": "Placeholder", + "placeholderDatetime": "2025-03-18 18:00:00" + } + ] + }, + { + "TLWMatchday": 31, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 27, + "showTable": true + } + ] + }, + { + "TLWMatchday": 32, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 28, + "showTable": true + } + ] + }, + { + "TLWMatchday": 33, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 29, + "showTable": true + } + + ] + }, + { + "TLWMatchday": 34, + "matchesConfig": [ + { + "type": "Placeholder", + "placeholderDatetime": "2025-04-15 18:00:00" + } + ] + }, + { + "TLWMatchday": 35, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 30, + "showTable": true + } + ] + }, + { + "TLWMatchday": 36, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 31, + "showTable": true + } + ] + }, + { + "TLWMatchday": 37, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 32, + "showTable": true + } + ] + }, + { + "TLWMatchday": 38, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 33, + "showTable": true + } + ] + }, + { + "TLWMatchday": 39, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 6375, + "leagueMatchday": 34, + "showTable": true + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/Tippliga_Configs/wtl_2023.json b/src/main/resources/Tippliga_Configs/wtl_2023.json new file mode 100644 index 0000000..21750b9 --- /dev/null +++ b/src/main/resources/Tippliga_Configs/wtl_2023.json @@ -0,0 +1,114 @@ +{ + "numberOfMatchdays": 5, + "matchesPerMatchday": 0, + "pointMode": 4, + "pointsTendency": 1, + "pointsDifference": 2, + "pointsDirectHit": 3, + "ko": 1, + "matchdayConfig": [ + { + "TLWMatchday": 1, + "matchdayName": "1. Runde", + "numberOfMatches": 32, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 1, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2022-07-29 20:45:00" + } + ] + }, + { + "TLWMatchday": 2, + "numberOfMatches": 12, + "matchdayName": "2. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 2, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2022-10-18 18:30:00" + } + ] + }, + { + "TLWMatchday": 3, + "numberOfMatches": 12, + "matchdayName": "3. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 3, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-01-31 18:30:00" + } + ] + }, + { + "TLWMatchday": 4, + "numberOfMatches": 8, + "matchdayName": "Achtelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 4, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-04-04 18:30:00" + } + ] + }, + { + "TLWMatchday": 5, + "numberOfMatches": 4, + "matchdayName": "Viertelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-05-02 20:45:00" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/Tippliga_Configs/wtl_2024.json b/src/main/resources/Tippliga_Configs/wtl_2024.json new file mode 100644 index 0000000..dac33bb --- /dev/null +++ b/src/main/resources/Tippliga_Configs/wtl_2024.json @@ -0,0 +1,118 @@ +{ + "numberOfMatchdays": 5, + "matchesPerMatchday": 0, + "pointMode": 4, + "pointsTendency": 1, + "pointsDifference": 2, + "pointsDirectHit": 3, + "ko": 1, + "matchdayConfig": [ + { + "TLWMatchday": 1, + "matchdayName": "1. Runde", + "numberOfMatches": 32, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 1, + "showTable": true + } + ] + }, + { + "TLWMatchday": 2, + "numberOfMatches": 12, + "matchdayName": "2. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 2, + "showTable": true + } + ] + }, + { + "TLWMatchday": 3, + "numberOfMatches": 12, + "matchdayName": "3. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 3, + "showTable": true + } + ] + }, + { + "TLWMatchday": 4, + "numberOfMatches": 8, + "matchdayName": "Achtelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 4, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2024-06-29 18:00:00" + } + ] + }, + { + "TLWMatchday": 5, + "numberOfMatches": 4, + "matchdayName": "Viertelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2024-07-05 18:00:00" + } + ] + }, + { + "TLWMatchday": 6, + "numberOfMatches": 2, + "matchdayName": "Halbfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2024-07-09 21:00:00" + } + ] + }, + { + "TLWMatchday": 7, + "numberOfMatches": 1, + "matchdayName": "Finale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5858, + "leagueMatchday": 7, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2024-07-14 21:00:00" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/Tippliga_Configs/wtl_2025.json b/src/main/resources/Tippliga_Configs/wtl_2025.json new file mode 100644 index 0000000..21750b9 --- /dev/null +++ b/src/main/resources/Tippliga_Configs/wtl_2025.json @@ -0,0 +1,114 @@ +{ + "numberOfMatchdays": 5, + "matchesPerMatchday": 0, + "pointMode": 4, + "pointsTendency": 1, + "pointsDifference": 2, + "pointsDirectHit": 3, + "ko": 1, + "matchdayConfig": [ + { + "TLWMatchday": 1, + "matchdayName": "1. Runde", + "numberOfMatches": 32, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 1, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2022-07-29 20:45:00" + } + ] + }, + { + "TLWMatchday": 2, + "numberOfMatches": 12, + "matchdayName": "2. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 2, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2022-10-18 18:30:00" + } + ] + }, + { + "TLWMatchday": 3, + "numberOfMatches": 12, + "matchdayName": "3. Spieltag", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 3, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-01-31 18:30:00" + } + ] + }, + { + "TLWMatchday": 4, + "numberOfMatches": 8, + "matchdayName": "Achtelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 4, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-04-04 18:30:00" + } + ] + }, + { + "TLWMatchday": 5, + "numberOfMatches": 4, + "matchdayName": "Viertelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 5275, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2023-05-02 20:45:00" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/test/java/de/jeyp91/apifootball/APIFootballUpdaterTest.java b/src/test/java/de/jeyp91/apifootball/APIFootballUpdaterTest.java index 529be99..88cdb57 100644 --- a/src/test/java/de/jeyp91/apifootball/APIFootballUpdaterTest.java +++ b/src/test/java/de/jeyp91/apifootball/APIFootballUpdaterTest.java @@ -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); } } diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchdaysCreatorTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchdaysCreatorTest.java index 0b9cc08..191c0af 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchdaysCreatorTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchdaysCreatorTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals; public class TLWMatchdaysCreatorTest { - int season = 2023; + int season = 2025; @Test public void getMatchdaysTippligaTest() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java index 12181b2..75eb69e 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorFootballTest.java @@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals; public class TLWMatchesCreatorFootballTest { - int season = 2023; + int season = 2025; @Test public void getMatchesTest() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java index 971e7a1..f690ba9 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperPokalTest.java @@ -4,7 +4,7 @@ import org.junit.Test; public class TLWMatchesCreatorTipperPokalTest { - int season = 2024; + int season = 2025; @Test public void getMatchesWTLPokalTest() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java index d1471f1..454d7cd 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesCreatorTipperTest.java @@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals; public class TLWMatchesCreatorTipperTest { - int season = 2024; + int season = 2025; @Test public void getMatchesTippliga1Test() { diff --git a/src/test/java/de/jeyp91/tippliga/TLWMatchesUpdaterFootballTest.java b/src/test/java/de/jeyp91/tippliga/TLWMatchesUpdaterFootballTest.java index d4c6938..056569a 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWMatchesUpdaterFootballTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWMatchesUpdaterFootballTest.java @@ -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"); diff --git a/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java b/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java index a5725f8..83b8ae4 100644 --- a/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java +++ b/src/test/java/de/jeyp91/tippliga/TLWTeamsCreatorTest.java @@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals; public class TLWTeamsCreatorTest { - int season = 2024; + int season = 2025; @Test public void getTeamsTippligaFootball1Test() { diff --git a/src/test/java/de/jeyp91/tippligaforum/MatchesListForumUpdaterTest.java b/src/test/java/de/jeyp91/tippligaforum/MatchesListForumUpdaterTest.java index ca5b14c..2481c52 100644 --- a/src/test/java/de/jeyp91/tippligaforum/MatchesListForumUpdaterTest.java +++ b/src/test/java/de/jeyp91/tippligaforum/MatchesListForumUpdaterTest.java @@ -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