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
auth
Commits
db787c2d
Commit
db787c2d
authored
Jul 08, 2013
by
Bertrand Gauthier
Browse files
Correction test valeur id par défaut.
parent
8cdbd75d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/UnicaenAuthTest/Authentication/Storage/LdapDbTest.php
View file @
db787c2d
...
...
@@ -111,7 +111,7 @@ class LdapDbTest extends PHPUnit_Framework_TestCase
$result
=
$this
->
storage
->
read
();
$this
->
assertInstanceOf
(
'UnicaenAuth\Entity\Ldap\PeopleAdapter'
,
$result
);
$this
->
assertInstanceOf
(
'UnicaenApp\Entity\Ldap\People'
,
$result
);
$this
->
assert
Null
(
$result
->
getId
());
$this
->
assert
Equals
(
$result
->
getId
()
,
$entity
->
getUid
()
);
}
public
function
testReadingReturnsNullIfNoUserFoundInDbOrLdap
()
...
...
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