Commit 8cdbd75d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction classe du mock.

parent e651370e
......@@ -27,7 +27,7 @@ class LdapTest extends PHPUnit_Framework_TestCase
{
$this->options = $options = new \UnicaenAuth\Options\ModuleOptions();
$this->mapper = $mapper = $this->getMock('UnicaenApp\Service\Ldap\People', array('findOneByUsername'));
$this->mapper = $mapper = $this->getMock('UnicaenApp\Mapper\Ldap\People', array('findOneByUsername'));
$this->serviceManager = new ServiceManager();
$this->serviceManager->setFactory('ldap_people_mapper', function() use ($mapper) {
......
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