From a554ba5d685acfa9b0fe1e4f896a7ea91c030670 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 10 Jul 2024 22:48:53 +0200 Subject: [PATCH] test: run tests in child process Signed-off-by: Daniel Kesselberg --- tests/lib/Route/RouterTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/lib/Route/RouterTest.php b/tests/lib/Route/RouterTest.php index bb322e51bb7..73332146d60 100644 --- a/tests/lib/Route/RouterTest.php +++ b/tests/lib/Route/RouterTest.php @@ -59,10 +59,18 @@ class RouterTest extends TestCase { ); } + /** + * @runInSeparateProcess + * @preserveGlobalState disabled + */ public function testHeartbeat(): void { $this->assertEquals('/index.php/heartbeat', $this->router->generate('heartbeat')); } + /** + * @runInSeparateProcess + * @preserveGlobalState disabled + */ public function testGenerateConsecutively(): void { $this->assertEquals('/index.php/apps/files/', $this->router->generate('files.view.index')); -- 2.39.5