Fix tests -.-
This commit is contained in:
parent
3755eed300
commit
7263aff180
@ -34,7 +34,7 @@ public class UnlockVaultTest {
|
|||||||
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(vault), A_STRING);
|
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(vault), A_STRING);
|
||||||
inTest.execute();
|
inTest.execute();
|
||||||
|
|
||||||
verify(cloudRepository).unlock(vault, A_STRING);
|
verify(cloudRepository).unlock(Mockito.eq(vault), Mockito.eq(A_STRING), Mockito.any());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -42,7 +42,7 @@ public class UnlockVaultTest {
|
|||||||
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(unlockToken), A_STRING);
|
inTest = new UnlockVault(cloudRepository, VaultOrUnlockToken.from(unlockToken), A_STRING);
|
||||||
inTest.execute();
|
inTest.execute();
|
||||||
|
|
||||||
verify(cloudRepository).unlock(unlockToken, A_STRING);
|
verify(cloudRepository).unlock(Mockito.eq(unlockToken), Mockito.eq(A_STRING), Mockito.any());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user