Remove warnings
This commit is contained in:
@@ -45,7 +45,8 @@ public class TippligaGoogleEventManagerTest {
|
||||
public void findEventTest() {
|
||||
List<Event> allEvents = getAllEvents(2023);
|
||||
Event event = findEvent(allEvents, 2023, 1, 1, 2);
|
||||
assertEquals(event.getStart(), 2);
|
||||
assert event != null;
|
||||
assertEquals(event.getStart().size(), 2);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -53,6 +54,7 @@ public class TippligaGoogleEventManagerTest {
|
||||
List<Event> allEvents = getAllEvents(2023);
|
||||
Event event = findEvent(allEvents, 2023, 1, 1, 1);
|
||||
TLWMatchday matchday = new TLWMatchday(2023, 1, 1, 0, "2022-08-06 20:30:00", "", "", "1. Spieltag", 12);
|
||||
assert event != null;
|
||||
updateEvent(event, matchday, matchday.getDeliveryDate(), 1);
|
||||
assertEquals(event.size(), 18);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user