Permalink
Browse files

Merge branch 'mod-lti-fix-test-with-hardcoded-url-mdl33' of https://g…

…ithub.com/peikk0/moodle into MOODLE_33_STABLE
  • Loading branch information...
dmonllao committed Feb 12, 2018
2 parents ccd495d + 8ba2f94 commit f71d4d4a971e0b8d833bc8bbf972fe0c4a389778
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/tests/externallib_test.php
@@ -369,7 +369,7 @@ public function test_mod_lti_create_tool_type() {
$type = mod_lti_external::create_tool_type($this->getExternalTestFileUrl('/ims_cartridge_basic_lti_link.xml'), '', '');
$this->assertEquals('Example tool', $type['name']);
$this->assertEquals('Example tool description', $type['description']);
$this->assertEquals($this->getExternalTestFileUrl('/test.jpg', true), $type['urls']['icon']);
$this->assertEquals('https://download.moodle.org/unittest/test.jpg', $type['urls']['icon']);
$typeentry = lti_get_type($type['id']);
$this->assertEquals('http://www.example.com/lti/provider.php', $typeentry->baseurl);
$config = lti_get_type_config($type['id']);

0 comments on commit f71d4d4

Please sign in to comment.