-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am trying to write some unit tests to https://github.com/simplesamlphp/simplesamlphp-module-expirycheck/
is it possible to test Auth\ProcessingFilter in a module which uses a $httpUtils->redirectTrustedURL?
$filter->process($request);
throws this exception
InvalidArgumentException: Unable to parse base url: http://localhost
/xxx/simplesamlphp-module-expirycheck/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php:1011
/xxx/simplesamlphp-module-expirycheck/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php:886
/xxx/simplesamlphp-module-expirycheck/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php:954
/xxx/simplesamlphp-module-expirycheck/src/Auth/Process/ExpiryDate.php:191
/xxx/simplesamlphp-module-expirycheck/tests/src/Auth/Process/ExpiryDateTest.php:170
ERRORS!
Tests: 17, Assertions: 40, Errors: 1, Warnings: 1.
any help is welcome
Regards
Metadata
Metadata
Assignees
Labels
No labels