diff --git a/factor/token/tests/factor_test.php b/factor/token/tests/factor_test.php index 0440ee01..0a88bb94 100644 --- a/factor/token/tests/factor_test.php +++ b/factor/token/tests/factor_test.php @@ -33,6 +33,11 @@ public function setUp(): void { $this->factor = new \factor_token\factor('token'); } + protected function tearDown(): void { + $this->factor = null; + parent::tearDown(); + } + public function test_calculate_expiry_time_in_general() { $timestamp = 1642213800; // 1230 UTC.