Fix user migration

This commit is contained in:
Nicolas Le Goff
2014-01-27 16:41:43 +01:00
parent 2973513519
commit 7c0d1e3d8d
16 changed files with 70 additions and 38 deletions

View File

@@ -181,7 +181,6 @@ class NativeAuthenticationTest extends \PhraseanetTestCase
$user->expects($this->any())->method('isSaltedPassword')->will($this->returnValue(false));
$user->expects($this->any())->method('getPassword')->will($this->returnValue($encoded));
$user->expects($this->any())->method('getNonce')->will($this->returnValue($nonce));
$user->expects($this->once())->method('setSaltedPassword')->with($this->equalTo(true));
$manipulator = $this->getUserManipulatorMock($user);