From f97102a004d893f2767934dfa2af90416f84b809 Mon Sep 17 00:00:00 2001 From: David An Date: Mon, 16 Dec 2024 15:00:14 -0500 Subject: [PATCH] remove UserApiServiceSpec tests --- .../webservice/UserApiServiceSpec.scala | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/test/scala/org/broadinstitute/dsde/firecloud/webservice/UserApiServiceSpec.scala b/src/test/scala/org/broadinstitute/dsde/firecloud/webservice/UserApiServiceSpec.scala index ccfdbe2d3..1cc0b8a28 100644 --- a/src/test/scala/org/broadinstitute/dsde/firecloud/webservice/UserApiServiceSpec.scala +++ b/src/test/scala/org/broadinstitute/dsde/firecloud/webservice/UserApiServiceSpec.scala @@ -134,15 +134,6 @@ class UserApiServiceSpec .withStatusCode(OK.intValue) ) - samServer - .when(request.withMethod("GET").withPath(UserApiService.samUserProxyGroupPath("test@test.test"))) - .respond( - org.mockserver.model.HttpResponse - .response() - .withHeaders(MockUtils.header) - .withStatusCode(OK.intValue) - ) - returnEnabledUser(samServer) profileServer = startClientAndServer(thurloeServerPort) @@ -319,21 +310,6 @@ class UserApiServiceSpec } } - "when GET-ing proxy group" - { - "OK response is returned for valid user" in { - Get("/api/proxyGroup/test@test.test") ~> - dummyUserIdHeaders(uniqueId) ~> sealRoute(passthroughRoutes) ~> check { - status should equal(OK) - } - } - - "NotFound response is returned for invalid user" in { - Get("/api/proxyGroup/test@not.found") ~> - dummyUserIdHeaders(uniqueId) ~> sealRoute(passthroughRoutes) ~> check { - status should equal(NotFound) - } - } - } } "UserService Edge Cases" - {