Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
gquadrati committed Jun 18, 2023
1 parent 7a00676 commit ae7a76a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ public static void createExpectationAssertionFound() {
.withPath("/assertions/{assertion}")
.withPathParameter("assertion", ASSERTION_REF)
.withHeaders(
new Header(
"Ocp-Apim-Subscription-Key", "FakeSubscriptionKey"),
new Header("Accept", "application/json"),
new Header("x-pagopa-lollipop-auth", JWT)))
.respond(response().withStatusCode(200).withBody(RESPONSE_STRING));
Expand All @@ -277,6 +279,8 @@ public static void createExpectationAssertionNotFound() {
.withPath("/assertions/{assertion}")
.withPathParameter("assertion", WRONG_ASSERTION_REF)
.withHeaders(
new Header(
"Ocp-Apim-Subscription-Key", "FakeSubscriptionKey"),
new Header("Accept", "application/json"),
new Header("x-pagopa-lollipop-auth", JWT)))
.respond(response().withStatusCode(404).withBody("{}"));
Expand Down

0 comments on commit ae7a76a

Please sign in to comment.