From 0b90d54bf6e3b91530ed0ca363f31769292b035c Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 31 Jan 2020 15:13:01 +0100 Subject: [PATCH] ensure kernel is shut down after each test --- Tests/Functional/ExceptionListenerTest.php | 5 ----- Tests/Functional/RoutingTest.php | 5 ----- Tests/Functional/VersionTest.php | 5 ----- 3 files changed, 15 deletions(-) diff --git a/Tests/Functional/ExceptionListenerTest.php b/Tests/Functional/ExceptionListenerTest.php index 395b6c617..0750e8c1e 100644 --- a/Tests/Functional/ExceptionListenerTest.php +++ b/Tests/Functional/ExceptionListenerTest.php @@ -30,11 +30,6 @@ public static function tearDownAfterClass() parent::tearDownAfterClass(); } - protected function tearDown(): void - { - // prevent kernel shutdown - } - public function testBundleListenerHandlesExceptionsInRestZones() { static::$client->request('GET', '/api/test'); diff --git a/Tests/Functional/RoutingTest.php b/Tests/Functional/RoutingTest.php index e60d0ee5c..adeb2d6b0 100644 --- a/Tests/Functional/RoutingTest.php +++ b/Tests/Functional/RoutingTest.php @@ -27,11 +27,6 @@ public static function tearDownAfterClass() parent::tearDownAfterClass(); } - protected function tearDown(): void - { - // prevent kernel shutdown - } - public function testPostControllerRoutesAreRegistered() { static::$client->request('GET', '/posts/1'); diff --git a/Tests/Functional/VersionTest.php b/Tests/Functional/VersionTest.php index 5aa55205e..dcc505b09 100644 --- a/Tests/Functional/VersionTest.php +++ b/Tests/Functional/VersionTest.php @@ -30,11 +30,6 @@ public static function tearDownAfterClass() parent::tearDownAfterClass(); } - protected function tearDown(): void - { - // prevent kernel shutdown - } - public function testVersionAnnotation() { static::$client->request(