Skip to content

Commit

Permalink
extra mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoet committed Oct 31, 2024
1 parent 44efd17 commit 932ac19
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,6 @@ class NihServiceUnitSpec extends AnyFlatSpec with Matchers with BeforeAndAfterEa
it should "sync all users by combining responses from ECM and Thurloe if they contain different users" in {
when(ecmDao.getActiveLinkedEraAccounts(ArgumentMatchers.eq(UserInfo(adminAccessToken, ""))))
.thenReturn(Future.successful(Seq(userTargetOnlyLinkedAccount)))
when(thurloeDao.getAllUserValuesForKey(ArgumentMatchers.eq("email")))
.thenReturn(
Future.successful(
samUsers.filter(u => !u.id.equals(userTargetOnly.id)).map(user => user.id.value -> user.email.value).toMap
)
)
when(thurloeDao.getAllUserValuesForKey(ArgumentMatchers.eq("linkedNihUsername")))
.thenReturn(
Future.successful(
Expand Down

0 comments on commit 932ac19

Please sign in to comment.