Skip to content

Commit

Permalink
unit test setUp call parent
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetom committed Nov 12, 2024
1 parent 88ff180 commit b9ada70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
1 change: 1 addition & 0 deletions tests/replacement_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b9ada70

Please sign in to comment.