Disable all calls to API-Football in tests

This commit is contained in:
Julian Arndt
2020-11-09 09:28:00 +01:00
parent 8cfb2a325a
commit 2fcee30597
3 changed files with 5 additions and 5 deletions

View File

@@ -7,18 +7,18 @@ public class APIFootballUpdaterTest {
@Test @Test
public void updateFixturesTest() { public void updateFixturesTest() {
APIFootballUpdater updater = new APIFootballUpdater(); APIFootballUpdater updater = new APIFootballUpdater();
updater.updateFixtures(1240); // updater.updateFixtures(1240);
} }
@Test @Test
public void updateAllFixturesTest() { public void updateAllFixturesTest() {
APIFootballUpdater updater = new APIFootballUpdater(); APIFootballUpdater updater = new APIFootballUpdater();
updater.updateAllFixtures(); // updater.updateAllFixtures();
} }
@Test @Test
public void updateAllRoundsTest() { public void updateAllRoundsTest() {
APIFootballUpdater updater = new APIFootballUpdater(); APIFootballUpdater updater = new APIFootballUpdater();
updater.updateAllRounds(); // updater.updateAllRounds();
} }
} }

View File

@@ -7,8 +7,8 @@ public class TeamIDMatcherTemplateCreatorTest {
@Test @Test
public void getTeamsTemplate() { public void getTeamsTemplate() {
TeamIDMatcherTemplateCreator creator = new TeamIDMatcherTemplateCreator(0, 2790); // TeamIDMatcherTemplateCreator creator = new TeamIDMatcherTemplateCreator(0, 2790);
String template = creator.getTeamsTemplate(); // String template = creator.getTeamsTemplate();
// System.out.println(template); // System.out.println(template);
} }
} }

Binary file not shown.