Fix phpunit 8 compatibility
This commit is contained in:
parent
034cd46a61
commit
83a56a0cbe
@ -208,6 +208,8 @@ abstract class KernelTestCase extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @after
|
||||
*
|
||||
* Shuts the kernel down if it was used in the test.
|
||||
*/
|
||||
protected static function ensureKernelShutdown()
|
||||
@ -220,12 +222,4 @@ abstract class KernelTestCase extends TestCase
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up Kernel usage in this test.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
static::ensureKernelShutdown();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user