Add api football files updater
This commit is contained in:
1 parent
f997b9bf46
commit
285ec1074a
18 files changed
+15808
-1048
No files matched your search
@@ -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