MDL-76899 quiz: remove unneeded tearDown from a unit test

This commit is contained in:
Tim Hunt
2023-01-16 17:12:34 +00:00
parent f4099bcd78
commit 450e55e79d
-4
View File
@@ -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.