summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2024-07-10 22:48:53 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-07-10 23:35:43 +0200
commita554ba5d685acfa9b0fe1e4f896a7ea91c030670 (patch)
tree178769b1565ae85d3ab15c0694465536bdb464a3
parent780bf606d28b3f559250f8e962d9b1b8e9f7f2aa (diff)
downloadnextcloud-server-a554ba5d685acfa9b0fe1e4f896a7ea91c030670.tar.gz
nextcloud-server-a554ba5d685acfa9b0fe1e4f896a7ea91c030670.zip
test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--tests/lib/Route/RouterTest.php8
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'));