From eacd2567db6e1a0595ab52a701dd70d9bd123e87 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 18 Oct 2013 12:45:46 +0800 Subject: [PATCH] MDL-41554 rss: Move to more robust test url tinyurl was sometimes failing (was bad to use them anyway) --- lib/tests/rsslib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/rsslib_test.php b/lib/tests/rsslib_test.php index a1313233789..d9738b82474 100644 --- a/lib/tests/rsslib_test.php +++ b/lib/tests/rsslib_test.php @@ -42,7 +42,7 @@ class moodlesimplepie_testcase extends basic_testcase { # A url which we know doesn't exist const INVALIDURL = 'http://download.moodle.org/unittest/rsstest-which-doesnt-exist.xml'; # This tinyurl redirects to th rsstest.xml file - const REDIRECTURL = 'http://tinyurl.com/lvyslv'; + const REDIRECTURL = 'http://download.moodle.org/unittest/rss_redir.php'; # The number of seconds tests should wait for the server to respond (high to prevent false positives). const TIMEOUT = 10;