Fix php tests

This commit is contained in:
Ivan Diaz 2018-10-05 02:28:57 -03:00
parent 7740952956
commit 3f7dcc8d2c
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}
}
}