MDL-50187 docs: Including all x.y releases

This commit is contained in:
David Monllao 2015-05-11 11:05:06 +08:00
parent 753d681076
commit 2261bc153a

View File

@ -44,7 +44,7 @@ class core_setuplib_testcase extends advanced_testcase {
} else {
$docroot = $CFG->docroot;
}
$this->assertRegExp('~^' . preg_quote($docroot, '') . '/2\d/' . current_language() . '/course/editing$~',
$this->assertRegExp('~^' . preg_quote($docroot, '') . '/\d{2}/' . current_language() . '/course/editing$~',
get_docs_url('course/editing'));
}