Commit 90f421d4 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Test unitaire : correction méthode dépréciée.

parent fafec709
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
namespace UnicaenLdapTest;

use PHPUnit_Framework_TestCase;
use Zend\ServiceManager\ServiceManager;
use UnicaenLdap\Ldap;
use UnicaenLdap\Node;

@@ -21,7 +20,7 @@ class NodeTest extends PHPUnit_Framework_TestCase

    protected function setUp()
    {
        $this->ldap = $this->getMock('UnicaenLdap\Ldap', array('getBaseDn'));
        $this->ldap = $this->createMock('UnicaenLdap\Ldap');
        $this->ldap->expects($this->any())
                 ->method('getBaseDn')
                 ->will($this->returnValue('dc=unicaen,dc=fr'));