Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardo-doyensec committed May 9, 2024
1 parent 17e3106 commit 398b8a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void detect_weakCredentialsExists_returnsWeakCredentials() throws Excepti
}

@Test
public void detect_weakCredentialsExist_returnsAllWeakCredentials() throws Exception {
public void detect_weakCredentialsExist_returnsFirstWeakCredentials() throws Exception {
startMockWebServer("/", "");
NetworkService targetNetworkService =
NetworkService.newBuilder()
Expand All @@ -104,7 +104,7 @@ public void detect_weakCredentialsExist_returnsAllWeakCredentials() throws Excep
assertThat(
tester.testValidCredentials(
targetNetworkService, ImmutableList.of(WEAK_CRED_1, WEAK_CRED_2)))
.containsExactly(WEAK_CRED_1, WEAK_CRED_2);
.containsExactly(WEAK_CRED_1);

mockWebServer.shutdown();
}
Expand Down

0 comments on commit 398b8a9

Please sign in to comment.