Skip to content

Commit

Permalink
fix: use superuser cookie in test 'Return 401 when request is made wi…
Browse files Browse the repository at this point in the history
…thout using superuser cookie'
  • Loading branch information
Atifsid committed May 1, 2024
1 parent a5c0cc6 commit fd7fa2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ public void itShouldReturn401OnEndorsementSearchWithoutCookie() {
UUID endorsementId = endorsement.getId();
Response response =
given()
.cookies(RestAPIHelper.getSuperUserCookie())
.cookies(RestAPIHelper.getUserCookie())
.pathParam("endorsementId", endorsementId.toString())
.queryParam("status", EndorsementStatus.APPROVED.name())
.patch("/v1/endorsements");
Expand Down

0 comments on commit fd7fa2f

Please sign in to comment.