MDL-68658 phpunit: Ensure that the configured proxy is applied always
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 10 May 2020 14:54:14 +0000 (16:54 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 22 May 2020 15:07:05 +0000 (17:07 +0200)
commit200570558da5deaccdf5c170d31bf548a285bcf1
treef88c027cc2d3ae97cfff18dd5c45887a54b96670
parent71965a857221c98264cc7fbe360b9ebb860a5dee
MDL-68658 phpunit: Ensure that the configured proxy is applied always

Previously, if the RSS feed (extests) was being served locally,
CFG->proxybypass was applied and causing the test to fail (proxy
ignored).

In that exact test we need the configured proxy to be applied
always, because the test is exaclty about detecting the problem
when a wrong proxy is used.
lib/tests/rsslib_test.php