Skip to content

Commit

Permalink
Avoid using of kernel after shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Nov 3, 2019
1 parent 0af10cc commit 49b58ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ abstract class KernelTestCase extends TestCase
private function doTearDown()
{
static::ensureKernelShutdown();
static::$kernel = null;
}

/**
Expand Down

0 comments on commit 49b58ed

Please sign in to comment.