diff --git a/filter.php b/filter.php index 90901cc..7ba3353 100644 --- a/filter.php +++ b/filter.php @@ -25,6 +25,4 @@ */ defined('MOODLE_INTERNAL') || die(); -class_alias(\filter_opencast\text_filter::class, \filter_opencast::class); - debugging('This file is no longer required in Moodle 4.5+. Please do not include/require it.', DEBUG_DEVELOPER); diff --git a/tests/replacement_test.php b/tests/replacement_test.php index 25c092a..18a7d87 100644 --- a/tests/replacement_test.php +++ b/tests/replacement_test.php @@ -39,6 +39,7 @@ final class replacement_test extends \advanced_testcase { public function setUp(): void { + parent::setUp(); $this->resetAfterTest(); set_config('episodeurl_1', "http://localhost:8080/play/[EPISODEID]\nhttps://stable.opencast.de/play/[EPISODEID]", 'filter_opencast');