1

Merge remote-tracking branch 'origin/invite-link-update' into invite-link-update

This commit is contained in:
[Mahgs]
2020-03-27 14:38:17 +01:00
7 changed files with 11 additions and 10 deletions

View File

@ -40,6 +40,7 @@ class EventServiceTest {
@BeforeEach
void setUp() {
eventService = new EventService(jsonService, eventRepository);
eventRepository.deleteAll();
}
@Test

View File

@ -48,6 +48,7 @@ class GroupServiceTest {
@BeforeEach
void setUp() {
groupService = new GroupService(eventService, eventRepository);
eventRepository.deleteAll();
}
//TODO: Wofür ist dieser Test?
@ -116,7 +117,7 @@ class GroupServiceTest {
Group group = TestBuilder.apply(test1, test2);
assertThat(group.getType()).isEqualTo(null);
assertThat(groupService.getAllGroupWithVisibilityPublic("test1")).isEmpty();
assertThat(groupService.getAllGroupWithVisibilityPublic("errer")).isEmpty();
}
@Test