Skip to content

Commit b58a9cf

Browse files
committed
Change to test for explicit number of calls
1 parent c5c1186 commit b58a9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/uid2/shared/attest/UidOptOutClientTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void usesOptOutUrlForDownloadWithPath(String path, String expectedFullPath) thro
7878
when(mockAttestationResponseHandler.getOptOutUrl()).thenReturn("https://core.example.com");
7979

8080
InputStream is = this.optOutClient.download(path);
81-
verify(mockAttestationResponseHandler, atLeastOnce()).getOptOutUrl();
81+
verify(mockAttestationResponseHandler, times(2)).getOptOutUrl();
8282
verify(mockHttpClient).get(eq(expectedFullPath), any());
8383
}
8484

0 commit comments

Comments
 (0)