Permalink
Browse files

MDL-41554 rss: Move to more robust test url

tinyurl was sometimes failing (was bad to use them anyway)
  • Loading branch information...
danpoltawski committed Oct 18, 2013
1 parent 5c74090 commit eacd2567db6e1a0595ab52a701dd70d9bd123e87
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit eacd256

Please sign in to comment.