diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2024-07-10 22:48:53 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2024-07-11 00:25:32 +0200 |
commit | ee657491388ee870dc8b9c30edabce370a31c26a (patch) | |
tree | dc197c8d22361b6f79749603502bfcaa1126a6b4 /tests | |
parent | d7ea479a33bf25fcbeaa5dd08e7f08ab6bb99992 (diff) | |
download | nextcloud-server-ee657491388ee870dc8b9c30edabce370a31c26a.tar.gz nextcloud-server-ee657491388ee870dc8b9c30edabce370a31c26a.zip |
test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Route/RouterTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
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')); |