Fixed RewriteHashLinksMiddlewareTest::tearDown() not calling parent::tearDown()

This commit is contained in:
UndefinedOffset 2020-10-06 09:32:09 -03:00
parent 446469614d
commit 43a6aa5279
No known key found for this signature in database
GPG Key ID: 59C4EE2B6468B796
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class RewriteHashLinksMiddlewareTest extends SapphireTest
*/
protected function tearDown()
{
parent::tearDown();
if ($this->currentHost === false) {
unset($_SERVER['HTTP_HOST']);
} else {