From 28302cee6a8b82dd688916a780725ba7b9be7709 Mon Sep 17 00:00:00 2001 From: Tristan Garwood Date: Wed, 28 Aug 2024 11:02:37 -0400 Subject: [PATCH] fix test --- .../dsde/workbench/sam/service/MockUserServiceBuilder.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/scala/org/broadinstitute/dsde/workbench/sam/service/MockUserServiceBuilder.scala b/src/test/scala/org/broadinstitute/dsde/workbench/sam/service/MockUserServiceBuilder.scala index 96122389b..beced2ce3 100644 --- a/src/test/scala/org/broadinstitute/dsde/workbench/sam/service/MockUserServiceBuilder.scala +++ b/src/test/scala/org/broadinstitute/dsde/workbench/sam/service/MockUserServiceBuilder.scala @@ -92,6 +92,8 @@ case class MockUserServiceBuilder() extends IdiomaticMockito { SamUserAllowances(enabled = false, termsOfService = false) ) mockUserService.getUserAttributes(any[WorkbenchUserId], any[SamRequestContext]) returns IO(None) + + mockUserService.repairCloudAccess(any[WorkbenchUserId], any[SamRequestContext]) returns IO(()) } private def makeUser(samUser: SamUser, mockUserService: UserService): Unit = {