adjust unit tests

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Björn Schiessle 2018-10-30 15:54:57 +01:00
parent 860ffb24ad
commit 64ac2fa7b0
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -81,6 +81,11 @@ class SAMLControllerTest extends TestCase {
}
);
$this->config->expects($this->any())->method('getSystemValue')
->willReturnCallback(function($key, $default) {
return $default;
});
$this->samlController = new SAMLController(
'user_saml',
$this->request,