Cleanup code and prepare for AI usage
This commit is contained in:
@@ -3,7 +3,6 @@ import de.jeyp91.apifootball.APIFootballMatch;
|
||||
import de.jeyp91.teamidmatcher.TeamIDMatcher;
|
||||
import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
import org.json.simple.parser.ParseException;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@@ -11,7 +10,7 @@ import static org.junit.Assert.assertEquals;
|
||||
public class TeamIDMatcherTest {
|
||||
|
||||
@Test
|
||||
public void getOpenLigaDbIdFromTippligaIdTest() {
|
||||
public void getAPIFootballIdFromTippligaIdTest() {
|
||||
int apiFootballId;
|
||||
|
||||
apiFootballId = TeamIDMatcher.getApiFootballIdFromTippligaId(505);
|
||||
@@ -23,7 +22,7 @@ public class TeamIDMatcherTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTippligaIdFromOpenLigaDbIdTest() throws Exception {
|
||||
public void getTippligaIdFromAPIFootballIdTest() throws Exception {
|
||||
int tlwId;
|
||||
String jsonMatch = "{" +
|
||||
"\"fixture_id\":1," +
|
||||
|
||||
Reference in New Issue
Block a user