1

added Creating Groups to frontend and saving them in Database. Also prepared some Methods for Snapshot db

This commit is contained in:
killerber4t
2020-03-09 23:21:29 +01:00
parent 006822b57d
commit 61e2d0edba
16 changed files with 120 additions and 38 deletions

View File

@ -28,7 +28,7 @@ class SerializationServiceTest {
@Test
void serializeEventTest() {
event = new Event(1,1,"1");
event = new Event(1L,1L,"1");
SerializationService serializationService = new SerializationService(eventRepository);
try {
assertThat(serializationService.serializeEvent(event)).isEqualTo("{\"Event\":{\"event_id\":1,\"group_id\":1,\"user_id\":\"1\"}}");