Исправление мини недочёта
This commit is contained in:
parent
93bdee37f3
commit
3239674edf
@ -83,7 +83,7 @@ class EntrysDataTests {
|
||||
final String newPas = "TESTPAS";
|
||||
final EntrysDataEntity entity = entrysDataService.get(1L);
|
||||
final String oldPas = entity.getPassword();
|
||||
final EntrysDataEntity newEntity = entrysDataService.updatePassword(1L, oldPas, newPas);
|
||||
final EntrysDataEntity newEntity = entrysDataService.updatePassword(1L, newPas, oldPas);
|
||||
|
||||
Assertions.assertEquals(newPas, newEntity.getPassword());
|
||||
Assertions.assertNotEquals(oldPas, newEntity.getPassword());
|
||||
|
Loading…
Reference in New Issue
Block a user