fix tests after refactor
This commit is contained in:
@ -8,9 +8,9 @@ import java.lang.reflect.Method;
|
||||
/**
|
||||
* Repräsentiert viele Events als aggregiertes Objekt.
|
||||
*/
|
||||
@Getter
|
||||
public abstract class Aggregate {
|
||||
|
||||
@Getter
|
||||
protected long id;
|
||||
|
||||
/**
|
||||
|
||||
@ -25,6 +25,7 @@ public class Group extends Aggregate {
|
||||
private void applyEvent(CreateGroupEvent event) {
|
||||
title = event.getGroupTitle();
|
||||
description = event.getGroupDescription();
|
||||
id = event.getGroup_id();
|
||||
}
|
||||
|
||||
private void applyEvent(UpdateRoleEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user