Fix phpunit 8 compatibility

This commit is contained in:
Alexander Schranz 2019-02-07 09:56:45 +01:00
parent 034cd46a61
commit 83a56a0cbe

View File

@ -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();
}
}