Skip to content

Commit b9ada70

Browse files
committed
unit test setUp call parent
1 parent 88ff180 commit b9ada70

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

filter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,4 @@
2525
*/
2626
defined('MOODLE_INTERNAL') || die();
2727

28-
class_alias(\filter_opencast\text_filter::class, \filter_opencast::class);
29-
3028
debugging('This file is no longer required in Moodle 4.5+. Please do not include/require it.', DEBUG_DEVELOPER);

tests/replacement_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
final class replacement_test extends \advanced_testcase {
4040

4141
public function setUp(): void {
42+
parent::setUp();
4243
$this->resetAfterTest();
4344
set_config('episodeurl_1', "http://localhost:8080/play/[EPISODEID]\nhttps://stable.opencast.de/play/[EPISODEID]",
4445
'filter_opencast');

0 commit comments

Comments
 (0)