From 450e55e79dcf0238bec23912a84e52bfd89729e3 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 20 Dec 2022 15:48:43 +0000 Subject: [PATCH] MDL-76899 quiz: remove unneeded tearDown from a unit test --- mod/quiz/tests/repaginate_test.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mod/quiz/tests/repaginate_test.php b/mod/quiz/tests/repaginate_test.php index 2964379850a..d04145bf956 100644 --- a/mod/quiz/tests/repaginate_test.php +++ b/mod/quiz/tests/repaginate_test.php @@ -74,10 +74,6 @@ class repaginate_test extends \advanced_testcase { $this->repaginate = new mod_quiz_repaginate_testable(0, $this->quizslots); } - public function tearDown(): void { - $this->repaginate = null; - } - /** * Create a quiz, add five questions to the quiz * which are all on one page and return the quiz object.