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