Skip to content

Commit

Permalink
fix: checkstyle and unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suh-rao committed Mar 21, 2024
1 parent c7b65bf commit 0543d03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void shouldDispatchEventOnPolicyDefinitionCreationAndDeletionAndUpdate(PolicyDef

service.deleteById(policyDefinition.getUid());
await().untilAsserted(() -> {
verify(eventSubscriber).on(argThat(isEnvelopeOf(PolicyDefinitionDeleted.class)));
verify(eventSubscriber, times(4)).on(argThat(isEnvelopeOf(PolicyDefinitionDeleted.class)));

});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
Expand Down

0 comments on commit 0543d03

Please sign in to comment.