aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2024-07-10 22:48:53 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2024-07-11 00:25:32 +0200
commitee657491388ee870dc8b9c30edabce370a31c26a (patch)
treedc197c8d22361b6f79749603502bfcaa1126a6b4 /tests
parentd7ea479a33bf25fcbeaa5dd08e7f08ab6bb99992 (diff)
downloadnextcloud-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.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'));