Remove User_Adapter

This commit is contained in:
Nicolas Le Goff
2013-11-05 17:38:27 +01:00
parent 171390f7c8
commit c156f842c7
231 changed files with 3918 additions and 2986 deletions

View File

@@ -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()

View File

@@ -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()