Skip to content

Commit

Permalink
[ci skip] Minor twerk
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhaleby committed Sep 27, 2024
1 parent 0ef4a52 commit 16e6436
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void query_one() {
));

// When
NameDefined event = domainEventQueries.<NameDefined>queryOne(type(NameDefined.class.getName()));
NameDefined event = domainEventQueries.queryOne(type(NameDefined.class.getName()));

// Then
assertThat(event).isEqualTo(new NameDefined("eventId1", time, "name", "Some Doe"));
Expand Down Expand Up @@ -233,6 +233,7 @@ void query_based_on_var_arg_class_type() {

// When
List<DomainEvent> events = domainEventQueries.query(NameWasChanged.class, NameDefined.class).collect(Collectors.toList());


// Then
assertAll(
Expand Down

0 comments on commit 16e6436

Please sign in to comment.