Skip to content

Commit

Permalink
remove UserApiServiceSpec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidangb committed Dec 16, 2024
1 parent d245995 commit f97102a
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,6 @@ class UserApiServiceSpec
.withStatusCode(OK.intValue)
)

samServer
.when(request.withMethod("GET").withPath(UserApiService.samUserProxyGroupPath("[email protected]")))
.respond(
org.mockserver.model.HttpResponse
.response()
.withHeaders(MockUtils.header)
.withStatusCode(OK.intValue)
)

returnEnabledUser(samServer)

profileServer = startClientAndServer(thurloeServerPort)
Expand Down Expand Up @@ -319,21 +310,6 @@ class UserApiServiceSpec
}
}

"when GET-ing proxy group" - {
"OK response is returned for valid user" in {
Get("/api/proxyGroup/[email protected]") ~>
dummyUserIdHeaders(uniqueId) ~> sealRoute(passthroughRoutes) ~> check {
status should equal(OK)
}
}

"NotFound response is returned for invalid user" in {
Get("/api/proxyGroup/[email protected]") ~>
dummyUserIdHeaders(uniqueId) ~> sealRoute(passthroughRoutes) ~> check {
status should equal(NotFound)
}
}
}
}

"UserService Edge Cases" - {
Expand Down

0 comments on commit f97102a

Please sign in to comment.