Rework Google Auth and add Supercup
This commit is contained in:
@@ -51,7 +51,7 @@ public class TippligaGoogleEventManagerTest {
|
||||
public void updateEventTest() {
|
||||
List<Event> allEvents = getAllEvents(2023);
|
||||
Event event = findEvent(allEvents, 2023, 1, 1, 1);
|
||||
TLWMatchday matchday = new TLWMatchday(2023, 1, 1, 0, "2022-08-05 20:30:00", "", "", "1. Spieltag", 12);
|
||||
TLWMatchday matchday = new TLWMatchday(2023, 1, 1, 0, "2022-08-06 20:30:00", "", "", "1. Spieltag", 12);
|
||||
updateEvent(event, matchday, matchday.getDeliveryDate(), 1);
|
||||
assertEquals(event.size(), 18);
|
||||
}
|
||||
@@ -67,7 +67,7 @@ public class TippligaGoogleEventManagerTest {
|
||||
|
||||
@Test
|
||||
public void createOrUpdateEventTest() {
|
||||
TLWMatchday matchday = new TLWMatchday(2023, 1, 1, 0, "2022-08-06 20:30:00", "", "", "1. Spieltag", 12);
|
||||
TLWMatchday matchday = new TLWMatchday(2023, 1, 1, 0, "2022-08-05 20:30:00", "", "", "1. Spieltag", 12);
|
||||
createOrUpdateEvent(matchday, matchday.getDeliveryDate(), 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user