]> source.dussan.org Git - nextcloud-server.git/commitdiff
test: run tests in child process 46430/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 10 Jul 2024 20:48:53 +0000 (22:48 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 10 Jul 2024 22:25:32 +0000 (00:25 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tests/lib/Route/RouterTest.php

index bb322e51bb700cfb024c8448a2b51d09c561c271..73332146d603b9cd457d363d42c6cd33fe945cde 100644 (file)
@@ -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'));