From ee657491388ee870dc8b9c30edabce370a31c26a Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 10 Jul 2024 22:48:53 +0200 Subject: test: run tests in child process Signed-off-by: Daniel Kesselberg --- tests/lib/Route/RouterTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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')); -- cgit v1.2.3