diff --git a/igor-web/src/test/java/com/netflix/spinnaker/igor/nexus/NexusEventPosterTest.java b/igor-web/src/test/java/com/netflix/spinnaker/igor/nexus/NexusEventPosterTest.java index ac2a6c064..adb9ce5c7 100644 --- a/igor-web/src/test/java/com/netflix/spinnaker/igor/nexus/NexusEventPosterTest.java +++ b/igor-web/src/test/java/com/netflix/spinnaker/igor/nexus/NexusEventPosterTest.java @@ -18,7 +18,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; +import static org.mockito.Mockito.verifyNoMoreInteractions; import com.netflix.spinnaker.igor.config.NexusProperties; import com.netflix.spinnaker.igor.history.EchoService; @@ -116,7 +116,7 @@ void postDeletedArtifactShouldNotSendEvent() { nexusEventPoster.postEvent(payload); - verifyZeroInteractions(echoService); + verifyNoMoreInteractions(echoService); } @Test @@ -126,7 +126,7 @@ void postNonPomArtifactShouldNotSendEvent() { nexusEventPoster.postEvent(payload); - verifyZeroInteractions(echoService); + verifyNoMoreInteractions(echoService); } @Test @@ -136,7 +136,7 @@ void postNonMatchingRepoArtifactShouldNotSendEvent() { nexusEventPoster.postEvent(payload); - verifyZeroInteractions(echoService); + verifyNoMoreInteractions(echoService); } @Test