Skip to content

Commit 6643082

Browse files
author
David Monllao
committed
Merge branch 'mod-lti-fix-test-with-hardcoded-url-mdl34' of https://github.com/peikk0/moodle into MOODLE_34_STABLE
2 parents 8553738 + 6bbba0d commit 6643082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod/lti/tests/externallib_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public function test_mod_lti_create_tool_type() {
369369
$type = mod_lti_external::create_tool_type($this->getExternalTestFileUrl('/ims_cartridge_basic_lti_link.xml'), '', '');
370370
$this->assertEquals('Example tool', $type['name']);
371371
$this->assertEquals('Example tool description', $type['description']);
372-
$this->assertEquals($this->getExternalTestFileUrl('/test.jpg', true), $type['urls']['icon']);
372+
$this->assertEquals('https://download.moodle.org/unittest/test.jpg', $type['urls']['icon']);
373373
$typeentry = lti_get_type($type['id']);
374374
$this->assertEquals('http://www.example.com/lti/provider.php', $typeentry->baseurl);
375375
$config = lti_get_type_config($type['id']);

0 commit comments

Comments
 (0)