Fix php tests
This commit is contained in:
parent
7740952956
commit
3f7dcc8d2c
|
@ -8,7 +8,7 @@ class User extends \Mock {
|
|||
'getDataStore' => parent::stub()->returns(self::getUserInstanceMock())
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
public function isNull() {
|
||||
return false;
|
||||
}
|
||||
|
@ -19,8 +19,10 @@ class User extends \Mock {
|
|||
$mockUserInstance->id = 'MOCK_ID';
|
||||
$mockUserInstance->email = 'MOCK_EMAIL';
|
||||
$mockUserInstance->password = 'MOCK_PASSWORD';
|
||||
$mockUserInstance->disabled = 0;
|
||||
$mockUserInstance->lastLogin = '20180101';
|
||||
$mockUserInstance->verificationToken = null;
|
||||
|
||||
return $mockUserInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue