From 8c812851f1d34fe4fb08580c127c045fa9d83d3c Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Fri, 28 Jun 2024 17:12:55 +0200 Subject: [PATCH] fix broken unit test from a3df7d9 --- .../src/test/java/org/cryptomator/hub/RemoteUserPullerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/test/java/org/cryptomator/hub/RemoteUserPullerTest.java b/backend/src/test/java/org/cryptomator/hub/RemoteUserPullerTest.java index bd024fcc..d4e20195 100644 --- a/backend/src/test/java/org/cryptomator/hub/RemoteUserPullerTest.java +++ b/backend/src/test/java/org/cryptomator/hub/RemoteUserPullerTest.java @@ -102,7 +102,7 @@ public void testDeleteAuthorities(@ConvertWith(StringArrayConverter.class) Strin Mockito.when(databaseAuthorities.keySet()).thenReturn(databaseAuthorityIds); deletedAuthorityIds.forEach((id, authority) -> - Mockito.when(keycloakAuthorities.get(id)).thenReturn(authority)); + Mockito.when(databaseAuthorities.get(id)).thenReturn(authority)); remoteUserPuller.syncDeletedAuthorities(keycloakAuthorities, databaseAuthorities);