diff --git a/lib/tests/medialib_test.php b/lib/tests/medialib_test.php index baf1ae98eb5..60f1d8edd83 100644 --- a/lib/tests/medialib_test.php +++ b/lib/tests/medialib_test.php @@ -335,13 +335,13 @@ class medialib_testcase extends advanced_testcase { // Format: youtube playlist. $url = new moodle_url('http://www.youtube.com/view_play_list?p=PL6E18E2927047B662'); $t = $renderer->embed_url($url); - $this->assertTrue(self::str_contains($t, '')); + $this->assertTrue(self::str_contains($t, '')); $url = new moodle_url('http://www.youtube.com/playlist?list=PL6E18E2927047B662'); $t = $renderer->embed_url($url); - $this->assertTrue(self::str_contains($t, '')); + $this->assertTrue(self::str_contains($t, '')); $url = new moodle_url('http://www.youtube.com/p/PL6E18E2927047B662'); $t = $renderer->embed_url($url); - $this->assertTrue(self::str_contains($t, '')); + $this->assertTrue(self::str_contains($t, '')); // Format: vimeo. $url = new moodle_url('http://vimeo.com/1176321');