mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
unittests: NOBUG improve testrss.php failure message to make it easier for people to know to set their proxy.
This commit is contained in:
parent
d4bc6be7e8
commit
ec26b38806
@ -36,7 +36,10 @@ class moodlesimplepie_test extends UnitTestCase {
|
||||
|
||||
$this->assertIsA($feed, 'moodle_simplepie');
|
||||
|
||||
$this->assertFalse($feed->error());
|
||||
$this->assertFalse($feed->error(), "Failed to load the sample RSS file. Please check your proxy settings in Moodle. %s");
|
||||
if ($feed->error()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->assertEqual($feed->get_title(), 'Moodle News');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user