summaryrefslogtreecommitdiff
path: root/tests/UrlHelperTest.php
AgeCommit message (Collapse)Author
2023-12-30Update all UrlHelper::fetch() calls to use the associative array approach.wn_
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-12-29Perform validation of redirect URLs during the redirect process.wn_
Previously, validation was only done after all redirects and the final request had completed. This approach ensures all redirects are to URLs that pass extended validation.
2023-12-24Fix specifying auth type in UrlHelper::fetch(), add a test for 403 auth retry.wn_
2023-12-23Appease PHPStan in UrlHelperTestwn_
2023-12-23Add some tests for UrlHelper::fetch()wn_
2022-03-22tests: add stub autoloader, add a few more rewrite_relative testsAndrew Dolgov
2022-03-22 * add phpunit as a dev dependencyAndrew Dolgov
* add some basic tests for UrlHelper::rewrite_relative() * fix UrlHelper::rewrite_relative() to work better on non-absolute relative URL paths