Skip to content

Commit

Permalink
Use the non-spy reference when comparing expectedUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha-bbz committed Dec 5, 2024
1 parent 578493d commit a8df8f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ public void testDownloadById() throws B2Exception {
" X-Bz-Test-Mode: force_cap_exceeded\n"
);

assertEquals(expectedUrl, webifierSpy.getDownloadByIdUrl(ACCOUNT_AUTH, request));
assertEquals(expectedUrl, webifier.getDownloadByIdUrl(ACCOUNT_AUTH, request));

checkRequestCategory(OTHER, w -> w.downloadById(ACCOUNT_AUTH, request, noopContentHandler));
}
Expand Down Expand Up @@ -1318,7 +1318,7 @@ public void testDownloadByName() throws B2Exception {
" User-Agent: SecretAgentMan/3.19.28\n" +
" X-Bz-Test-Mode: force_cap_exceeded\n"
);
assertEquals(expectedUrl, webifierSpy.getDownloadByNameUrl(ACCOUNT_AUTH, request));
assertEquals(expectedUrl, webifier.getDownloadByNameUrl(ACCOUNT_AUTH, request));

checkRequestCategory(OTHER, w -> w.downloadByName(ACCOUNT_AUTH, request, noopContentHandler));
}
Expand Down

0 comments on commit a8df8f7

Please sign in to comment.