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

This commit is contained in:
Andrew Nicols
2025-01-10 14:54:12 +08:00
parent f1fbfdf610
commit 3814817723
2 changed files with 26 additions and 2 deletions
+2 -2
View File
@@ -637,7 +637,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')) {
@@ -646,7 +646,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}";
}
/**