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:27:35 +0200 |
commit | b8a04016c9f293deb4f7abb277ee3244aab8e9e7 (patch) | |
tree | 493d16b922bc40922bcc6e9003bd581e65c294a3 | |
parent | 02629ef35c660c58aa4c7baeeea098ba3a791d8d (diff) | |
download | nextcloud-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.php | 8 |
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')); |