File tree Expand file tree Collapse file tree
Classes/Validation/Validator
Tests/Unit/Validation/Validator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ protected function evaluateOldPasswordCheck(ChangePassword $changePassword)
181181 if ($ this ->oldPasswordService ->checkEqualsOldPassword ($ changePassword ->getPassword1 ())) {
182182 $ this ->addError (
183183 $ this ->localizationService ->translate ('oldPasswordFailure ' ),
184- 1570880406065
184+ 1570880406
185185 );
186186 }
187187 }
@@ -200,7 +200,7 @@ protected function evaluateRequireCurrentPassword(ChangePassword $changePassword
200200 $ result = false ;
201201 $ this ->addError (
202202 $ this ->localizationService ->translate ('currentPasswordEmpty ' ),
203- 1570880411334
203+ 1570880411
204204 );
205205 }
206206
@@ -210,7 +210,7 @@ protected function evaluateRequireCurrentPassword(ChangePassword $changePassword
210210 $ result = false ;
211211 $ this ->addError (
212212 $ this ->localizationService ->translate ('currentPasswordFailure ' ),
213- 1570880417020
213+ 1570880417
214214 );
215215 }
216216 return $ result ;
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function noCurrentPasswordGivenTest()
200200 $ mockLocalizationService ->expects (self ::any ())->method ('translate ' )->willReturn ('' );
201201 $ this ->validator ->_set ('localizationService ' , $ mockLocalizationService );
202202
203- self ::assertEquals (1570880411334 , $ this ->validator ->validate ($ changePassword )->getErrors ()[0 ]->getCode ());
203+ self ::assertEquals (1570880411 , $ this ->validator ->validate ($ changePassword )->getErrors ()[0 ]->getCode ());
204204 }
205205
206206 /**
@@ -238,7 +238,7 @@ public function currentPasswordWrongTest()
238238 ->willReturn (false );
239239 $ this ->validator ->_set ('oldPasswordService ' , $ mockOldPasswordService );
240240
241- self ::assertEquals (1570880417020 , $ this ->validator ->validate ($ changePassword )->getErrors ()[0 ]->getCode ());
241+ self ::assertEquals (1570880417 , $ this ->validator ->validate ($ changePassword )->getErrors ()[0 ]->getCode ());
242242 }
243243
244244 /**
You can’t perform that action at this time.
0 commit comments