change createSingleGroup test
This commit is contained in:
@ -27,11 +27,7 @@ class GroupTest {
|
|||||||
Group group = new Group();
|
Group group = new Group();
|
||||||
|
|
||||||
group.applyEvent(createGroupEvent);
|
group.applyEvent(createGroupEvent);
|
||||||
|
assertThat(group.getId()).isEqualTo(1L);
|
||||||
|
|
||||||
assertThat(group.getDescription()).isEqualTo("foo");
|
|
||||||
assertThat(group.getTitle()).isEqualTo("hello");
|
|
||||||
assertThat(group.getId()).isEqualTo(2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verwendet CreateGroupEvent
|
// Verwendet CreateGroupEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user