Skip to content

Commit

Permalink
feature(chore):786 fixed some integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Jul 1, 2024
1 parent 6bfccb9 commit cd5316e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void shouldRejectInvestigationNotificationOnAPICallClass_whenAppBpnEqualsSenderB
.body(edcNotification)
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
.when()
.post("/api/qualitynotifications/receive")
.post("/api/internal/qualitynotifications/receive")
.then()
.statusCode(400);

Expand All @@ -98,7 +98,7 @@ void shouldCreateAnInvestigationOnApiCallbackBadRequestBpnDoesNotMatchAppBpn() t
.body(edcNotification)
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
.when()
.post("/api/qualitynotifications/receive")
.post("/api/internal/qualitynotifications/receive")
.then()
.statusCode(400);

Expand Down Expand Up @@ -167,7 +167,7 @@ void shouldAddANotificationToExistingInvestigationOnAPICallback() throws IOExcep
.body(edcNotification)
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
.when()
.post("/api/qualitynotifications/update")
.post("/api/internal/qualitynotifications/update")
.then()
.statusCode(200);

Expand Down Expand Up @@ -219,7 +219,7 @@ void shouldThrowBadRequestBecauseEdcNotificationMethodIsNotSupported() throws IO
.body(edcNotification)
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
.when()
.post("/api/qualitynotifications/receive")
.post("/api/internal/qualitynotifications/receive")
.then()
.statusCode(400);

Expand Down Expand Up @@ -267,7 +267,7 @@ void shouldCallUpdateApiWithWrongRequestObject() throws JoseException {
"}")
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
.when()
.post("/api/qualitynotifications/update")
.post("/api/internal/qualitynotifications/update")
.then()
.statusCode(400);

Expand Down

0 comments on commit cd5316e

Please sign in to comment.