test: run tests in child process

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/45956/head
Daniel Kesselberg 2024-07-10 22:48:53 +07:00 committed by Andy Scherzinger
parent 780bf606d2
commit a554ba5d68
1 changed files with 8 additions and 0 deletions

@ -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'));