diff --git a/tests/phpunit/AbuseFilterConsequencesTest.php b/tests/phpunit/AbuseFilterConsequencesTest.php index 1295c2c44..a9dcde826 100644 --- a/tests/phpunit/AbuseFilterConsequencesTest.php +++ b/tests/phpunit/AbuseFilterConsequencesTest.php @@ -294,6 +294,15 @@ class AbuseFilterConsequencesTest extends MediaWikiTestCase { ] ); } + /** + * @inheritDoc + */ + protected function tearDown() { + // Paranoia: ensure no fake timestamp leftover + MWTimestamp::setFakeTime( false ); + parent::tearDown(); + } + /** * Creates new filters with the given ids, referred to self::$filters *