Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
ldap
Commits
90f421d4
Commit
90f421d4
authored
Aug 30, 2017
by
Bertrand Gauthier
Browse files
Test unitaire : correction méthode dépréciée.
parent
fafec709
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/UnicaenLdapUnitTest/NodeTest.php
View file @
90f421d4
...
...
@@ -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
->
get
Mock
(
'UnicaenLdap\Ldap'
,
array
(
'getBaseDn'
)
);
$this
->
ldap
=
$this
->
create
Mock
(
'UnicaenLdap\Ldap'
);
$this
->
ldap
->
expects
(
$this
->
any
())
->
method
(
'getBaseDn'
)
->
will
(
$this
->
returnValue
(
'dc=unicaen,dc=fr'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment