Clean up shit
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
<<<<<<< HEAD
|
||||
package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
@@ -12,7 +11,4 @@ public class TLWMatchesUpdaterFootballTest {
|
||||
|
||||
System.out.println(sql);
|
||||
}
|
||||
=======
|
||||
package de.jeyp91.tippliga;public class TLWMatchesUpdaterFootball {
|
||||
>>>>>>> origin/master
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<<<<<<< HEAD
|
||||
package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
@@ -14,8 +13,4 @@ public class TLWTeamsUpdaterTest {
|
||||
|
||||
System.out.println(sql);
|
||||
}
|
||||
|
||||
=======
|
||||
package de.jeyp91.tippliga;public class TLWTeamsUpdaterTest {
|
||||
>>>>>>> origin/master
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ public class TippligaSQLConnectorTest {
|
||||
|
||||
@Test
|
||||
public void getTeamsBySeasonAndLeagueTest() {
|
||||
ArrayList<TLWTeam> teams = tl.getTeamsBySeasonAndLeague("2020", "1");
|
||||
ArrayList<TLWTeam> teams = tl.getTeams("2020", "1");
|
||||
|
||||
assertEquals(84, teams.size());
|
||||
|
||||
@@ -34,11 +34,9 @@ public class TippligaSQLConnectorTest {
|
||||
|
||||
@Test
|
||||
public void getTeamsByIdTest() {
|
||||
ArrayList<TLWTeam> teams = tl.getTeamsById("1");
|
||||
ArrayList<TLWTeam> teams = tl.getTeams("1");
|
||||
|
||||
assertEquals(39, teams.size());
|
||||
|
||||
assertEquals(2011, teams.get(0).getSeason());
|
||||
assertEquals(2021, teams.get(0).getSeason());
|
||||
assertEquals(1, teams.get(0).getLeague());
|
||||
assertEquals(1, teams.get(0).getTeamId());
|
||||
assertEquals("Bayern München", teams.get(0).getTeamName());
|
||||
|
||||
Reference in New Issue
Block a user