mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Remove User_Adapter
This commit is contained in:
@@ -15,7 +15,7 @@ class NewEmailTest extends \PhraseanetTestCase
|
||||
public function testARegisteredAddressIsAlreadyRegistered()
|
||||
{
|
||||
$constraint = new NewEmail(self::$DI['app']);
|
||||
$this->assertTrue($constraint->isAlreadyRegistered(self::$DI['user']->get_email()));
|
||||
$this->assertTrue($constraint->isAlreadyRegistered(self::$DI['user']->getEmail()));
|
||||
}
|
||||
|
||||
public function testNullIsNotAlreadyRegistered()
|
||||
|
@@ -15,7 +15,7 @@ class NewLoginTest extends \PhraseanetTestCase
|
||||
public function testARegisteredLoginIsAlreadyRegistered()
|
||||
{
|
||||
$constraint = new NewLogin(self::$DI['app']);
|
||||
$this->assertTrue($constraint->isAlreadyRegistered(self::$DI['user']->get_login()));
|
||||
$this->assertTrue($constraint->isAlreadyRegistered(self::$DI['user']->getLogin()));
|
||||
}
|
||||
|
||||
public function testNullIsNotAlreadyRegistered()
|
||||
|
Reference in New Issue
Block a user