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

Ajout tests pour meilleure couverture.

parent 0c905a79
......@@ -57,6 +57,13 @@ class UserTest extends PHPUnit_Framework_TestCase
public function testCanSetLdapPeopleMapper()
$mapper = new \UnicaenApp\Mapper\Ldap\People();
$this->assertSame($mapper, $this->service->getLdapPeopleMapper());
public function testCanRetrieveDefaultLdapPeopleMapperFromServiceManager()
$this->assertInstanceOf('UnicaenApp\Mapper\Ldap\People', $this->service->getLdapPeopleMapper());
Supports Markdown
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