Add api football files updater
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package de.jeyp91.apifootball;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class APIFootballUpdaterTest {
|
||||
|
||||
@Test
|
||||
public void updateFixturesTest() throws IOException {
|
||||
APIFootballUpdater updater = new APIFootballUpdater(2021);
|
||||
updater.updateFixtures(2743);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateAllFixturesTest() throws IOException {
|
||||
APIFootballUpdater updater = new APIFootballUpdater(2021);
|
||||
updater.updateAllFixtures("Tippliga.json");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user