Improve google event update logic and add logging

This commit is contained in:
2022-08-05 14:00:43 +02:00
parent 63ff6838de
commit 26b7545517
2 changed files with 26 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import de.jeyp91.tippliga.TLWMatchday;
import de.jeyp91.tippliga.TLWMatchdaysCreator;
import org.junit.Test;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@@ -94,4 +95,9 @@ public class TippligaGoogleEventManagerTest {
TippligaGoogleEventManager.deleteEvent(tlwMatchday, 3);
});
}
@Test
public void deleteAllEventsTest() throws IOException {
TippligaGoogleEventManager.deleteAllEvents(2023);
}
}