mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 09:14:50 +02:00
Adapt user data mocks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c4cb5cad48
commit
7930503cc3
|
@ -250,6 +250,12 @@ class SAMLControllerTest extends TestCase {
|
|||
->expects(isset($samlUserData['uid']) ? $this->any() : $this->never())
|
||||
->method('getOriginalUid')
|
||||
->willReturn('MyUid');
|
||||
$this->userData
|
||||
->expects($this->any())
|
||||
->method('testEncodedObjectGUID')
|
||||
->willReturnCallback(function ($uid) {
|
||||
return $uid;
|
||||
});
|
||||
$this->userData
|
||||
->expects($this->any())
|
||||
->method('getEffectiveUid')
|
||||
|
|
Loading…
Reference in a new issue