Commit db787c2d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction test valeur id par défaut.

parent 8cdbd75d
...@@ -111,7 +111,7 @@ class LdapDbTest extends PHPUnit_Framework_TestCase ...@@ -111,7 +111,7 @@ class LdapDbTest extends PHPUnit_Framework_TestCase
$result = $this->storage->read(); $result = $this->storage->read();
$this->assertInstanceOf('UnicaenAuth\Entity\Ldap\PeopleAdapter', $result); $this->assertInstanceOf('UnicaenAuth\Entity\Ldap\PeopleAdapter', $result);
$this->assertInstanceOf('UnicaenApp\Entity\Ldap\People', $result); $this->assertInstanceOf('UnicaenApp\Entity\Ldap\People', $result);
$this->assertNull($result->getId()); $this->assertEquals($result->getId(), $entity->getUid());
} }
public function testReadingReturnsNullIfNoUserFoundInDbOrLdap() public function testReadingReturnsNullIfNoUserFoundInDbOrLdap()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment