Fix tests -.-

This commit is contained in:
Julian Raufelder 2021-02-17 21:19:44 +01:00
parent 3755eed300
commit 7263aff180
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -34,7 +34,7 @@ public class UnlockVaultTest {
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(vault), A_STRING);
inTest.execute();
verify(cloudRepository).unlock(vault, A_STRING);
verify(cloudRepository).unlock(Mockito.eq(vault), Mockito.eq(A_STRING), Mockito.any());
}
@Test
@ -42,7 +42,7 @@ public class UnlockVaultTest {
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(unlockToken), A_STRING);
inTest.execute();
verify(cloudRepository).unlock(unlockToken, A_STRING);
verify(cloudRepository).unlock(Mockito.eq(unlockToken), Mockito.eq(A_STRING), Mockito.any());
}
}