Disable gist updater test
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package de.jeyp91.gists;
|
||||
|
||||
import com.google.api.client.util.DateTime;
|
||||
import de.jeyp91.apifootball.APIFootballConnector;
|
||||
import de.jeyp91.apifootball.APIFootballUpdater;
|
||||
import org.json.simple.JSONArray;
|
||||
import org.junit.Test;
|
||||
@@ -50,8 +49,8 @@ public class GistProviderTest {
|
||||
public void updateGistTest() throws UnsupportedEncodingException {
|
||||
GistProvider prov = GistProvider.getInstance();
|
||||
APIFootballUpdater updater = new APIFootballUpdater(2021);
|
||||
String body = updater.getRawData("https://v2.api-football.com/fixtures/league/2738?timezone=Europe/Berlin");
|
||||
String content = prov.updateGist("6ec51d59cac70c9f4c040eeea1c0cdd9", "matches_league_2738.json", body);
|
||||
System.out.println(content);
|
||||
// String body = updater.getRawData("https://v2.api-football.com/fixtures/league/2738?timezone=Europe/Berlin");
|
||||
// String content = prov.updateGist("6ec51d59cac70c9f4c040eeea1c0cdd9", "matches_league_2738.json", body);
|
||||
// System.out.println(content);
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user