Skip to content

Commit

Permalink
DO NOT MERGE: Add test case that should fail during Jenkins build
Browse files Browse the repository at this point in the history
  • Loading branch information
C0urante committed Aug 10, 2023
1 parent 7fec6cc commit 8418b83
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public void addToRequestShouldAddHeadersOnValidSignatureAlgorithm() {
signatureAlgorithmCapture.capture()
)).thenReturn(request);

when(request.getAgent()).thenThrow(new RuntimeException());

InternalRequestSignature.addToRequest(crypto, KEY, REQUEST_BODY, SIGNATURE_ALGORITHM, request);

assertEquals(
Expand Down

0 comments on commit 8418b83

Please sign in to comment.