Disable gist updater test

This commit is contained in:
2020-10-25 21:20:54 +01:00
parent d8e70fb1b0
commit 306bf69107
2 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
package de.jeyp91.gists; package de.jeyp91.gists;
import com.google.api.client.util.DateTime; import com.google.api.client.util.DateTime;
import de.jeyp91.apifootball.APIFootballConnector;
import de.jeyp91.apifootball.APIFootballUpdater; import de.jeyp91.apifootball.APIFootballUpdater;
import org.json.simple.JSONArray; import org.json.simple.JSONArray;
import org.junit.Test; import org.junit.Test;
@@ -50,8 +49,8 @@ public class GistProviderTest {
public void updateGistTest() throws UnsupportedEncodingException { public void updateGistTest() throws UnsupportedEncodingException {
GistProvider prov = GistProvider.getInstance(); GistProvider prov = GistProvider.getInstance();
APIFootballUpdater updater = new APIFootballUpdater(2021); APIFootballUpdater updater = new APIFootballUpdater(2021);
String body = updater.getRawData("https://v2.api-football.com/fixtures/league/2738?timezone=Europe/Berlin"); // 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); // String content = prov.updateGist("6ec51d59cac70c9f4c040eeea1c0cdd9", "matches_league_2738.json", body);
System.out.println(content); // System.out.println(content);
} }
} }

Binary file not shown.