MDL-84152 tests: Remove extraneous / in external file URL generation

This commit is contained in:
Andrew Nicols
2025-01-10 14:39:49 +08:00
parent 59a432a66d
commit e54798475a
+2 -2
View File
@@ -623,7 +623,7 @@ abstract class advanced_testcase extends base_testcase {
}
return TEST_EXTERNAL_FILES_HTTPS_URL.$path;
}
return "https://download.moodle.org/unittest/{$path}";
return "https://download.moodle.org/unittest{$path}";
}
if (defined('TEST_EXTERNAL_FILES_HTTP_URL')) {
@@ -632,7 +632,7 @@ abstract class advanced_testcase extends base_testcase {
}
return TEST_EXTERNAL_FILES_HTTP_URL.$path;
}
return "http://download.moodle.org/unittest/{$path}";
return "http://download.moodle.org/unittest{$path}";
}
/**