Skip to content

Commit ee65749

Browse files
committed
test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent d7ea479 commit ee65749

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/lib/Route/RouterTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,18 @@ function (string $message, array $data) {
5959
);
6060
}
6161

62+
/**
63+
* @runInSeparateProcess
64+
* @preserveGlobalState disabled
65+
*/
6266
public function testHeartbeat(): void {
6367
$this->assertEquals('/index.php/heartbeat', $this->router->generate('heartbeat'));
6468
}
6569

70+
/**
71+
* @runInSeparateProcess
72+
* @preserveGlobalState disabled
73+
*/
6674
public function testGenerateConsecutively(): void {
6775

6876
$this->assertEquals('/index.php/apps/files/', $this->router->generate('files.view.index'));

0 commit comments

Comments
 (0)