Skip to content

Commit

Permalink
Revert "bug symfony#30084 Fix KernelTestCase compatibility for PhpUni…
Browse files Browse the repository at this point in the history
…t 8 (alexander-schranz)"

This reverts commit a36dc51, reversing
changes made to db445c4.
  • Loading branch information
nicolas-grekas committed Feb 9, 2019
1 parent bb54e40 commit 9e475b6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
Expand Up @@ -208,8 +208,6 @@ protected static function createKernel(array $options = [])
}

/**
* @after
*
* Shuts the kernel down if it was used in the test.
*/
protected static function ensureKernelShutdown()
Expand All @@ -222,4 +220,12 @@ protected static function ensureKernelShutdown()
}
}
}

/**
* Clean up Kernel usage in this test.
*/
protected function tearDown()
{
static::ensureKernelShutdown();
}
}

0 comments on commit 9e475b6

Please sign in to comment.