Skip to content

Commit b5cf099

Browse files
committed
fix: run router test with runTestsInSeparateProcesses
The router uses include_once to load route definitions from the apps. First include_once for apps/files/appinfo/routes.php returns the expected array. Second include_once returns true, because the file was already included. To workaround the tests must run in a separate process. Signed-off-by: Daniel Kesselberg <[email protected]>
1 parent 82f9c66 commit b5cf099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/lib/Route/RouterTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
* Class RouterTest
3636
*
3737
* @group RoutingWeirdness
38+
* @runTestsInSeparateProcesses
3839
*
3940
* @package Test\Route
4041
*/

0 commit comments

Comments
 (0)