mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-41707 allow custom location of external test files used from unit tests
This commit is contained in:
parent
d45e65ccad
commit
a9d2f1b414
8 changed files with 78 additions and 37 deletions
|
@ -865,7 +865,7 @@ class core_files_file_storage_testcase extends advanced_testcase {
|
|||
'itemid' => 0,
|
||||
'filepath' => '/downloadtest/',
|
||||
);
|
||||
$url = 'http://download.moodle.org/unittest/test.html';
|
||||
$url = $this->getExternalTestFileUrl('/test.html');
|
||||
|
||||
$fs = get_file_storage();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue