mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
test: run tests in child process
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
d7ea479a33
commit
ee65749138
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'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue