File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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 ' ]);
You can’t perform that action at this time.
0 commit comments