1

Merge remote-tracking branch 'origin/master' into EventServiceTests

# Conflicts:
#	src/test/java/mops/gruppen2/service/EventServiceTest.java
This commit is contained in:
Mahgs
2020-03-16 13:14:10 +01:00
25 changed files with 411 additions and 254 deletions

View File

@ -12,4 +12,5 @@ public class EventDTO {
Long group_id;
String user_id;
String event_payload;
boolean visibility;
}

View File

@ -13,4 +13,4 @@ import java.util.List;
public class UpdatedGroupRequestMapper {
private Long status;
private List<Group> groupList;
}
}

View File

@ -30,6 +30,7 @@ public class Event {
Long group_id;
String user_id;
public Event(Long group_id,String user_id){
this.group_id = group_id;
this.user_id = user_id;

View File

@ -17,9 +17,10 @@ public class UpdateRoleEvent extends Event {
super(event_id, group_id, user_id);
this.newRole = newRole;
}
public UpdateRoleEvent(Long group_id, String user_id, Role newRole) {
super(group_id, user_id);
this.newRole = newRole;
}
}