aboutsummaryrefslogtreecommitdiffstats
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:27:35 +0200
commitb8a04016c9f293deb4f7abb277ee3244aab8e9e7 (patch)
tree493d16b922bc40922bcc6e9003bd581e65c294a3
parent02629ef35c660c58aa4c7baeeea098ba3a791d8d (diff)
downloadnextcloud-server-bug/noid/more-routing-weirdness.tar.gz
nextcloud-server-bug/noid/more-routing-weirdness.zip
test: run tests in child processbug/noid/more-routing-weirdness
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 5f3b28f82a3..6def3f5020e 100644
--- a/tests/lib/Route/RouterTest.php
+++ b/tests/lib/Route/RouterTest.php
@@ -65,10 +65,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'));