17 lines
453 B
Java
17 lines
453 B
Java
package de.jeyp91.tippliga;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class TLWTeamsUpdaterTest {
|
|
|
|
@Test
|
|
public void getTeamsTest() throws Exception {
|
|
TLWMatchesUpdaterFootball matchesUpdater = new TLWMatchesUpdaterFootball(2021, 1, "Tippliga.json");
|
|
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 1, matchesUpdater.tlwMatchesUpdated);
|
|
|
|
String sql = teamsUpdater.getInsertSQL();
|
|
|
|
System.out.println(sql);
|
|
}
|
|
}
|