Исправление мини недочёта

This commit is contained in:
DyCTaTOR 2024-04-12 00:11:47 +04:00
parent 93bdee37f3
commit 3239674edf

View File

@ -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());