From fe627b35e930710ed951569b8031f38023fc14ab Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 5 May 2022 16:28:03 +0900 Subject: [PATCH] test: revert @runTestsInSeparateProcesses Without it, tests fail. I don't know why. --- tests/system/RESTful/ResourceControllerTest.php | 5 +++++ tests/system/RESTful/ResourcePresenterTest.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/system/RESTful/ResourceControllerTest.php b/tests/system/RESTful/ResourceControllerTest.php index 0aa70bcd4a40..d3dc0ea56a94 100644 --- a/tests/system/RESTful/ResourceControllerTest.php +++ b/tests/system/RESTful/ResourceControllerTest.php @@ -35,7 +35,12 @@ * so we need to make sure that the methods routed to * return correct responses. * + * @runTestsInSeparateProcesses + * @preserveGlobalState disabled + * * @internal + * + * @group SeparateProcess */ final class ResourceControllerTest extends CIUnitTestCase { diff --git a/tests/system/RESTful/ResourcePresenterTest.php b/tests/system/RESTful/ResourcePresenterTest.php index 663e9f4051d3..c44bbba564d1 100644 --- a/tests/system/RESTful/ResourcePresenterTest.php +++ b/tests/system/RESTful/ResourcePresenterTest.php @@ -29,7 +29,12 @@ * so we need to make sure that the methods routed to * return correct responses. * + * @runTestsInSeparateProcesses + * @preserveGlobalState disabled + * * @internal + * + * @group SeparateProcess */ final class ResourcePresenterTest extends CIUnitTestCase {