Skip to content

Commit 139fdd4

Browse files
committed
Tweak phpunit annotations
1 parent 0ec655d commit 139fdd4

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

tests/system/RESTful/ResourceControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* so we need to make sure that the methods routed to
1212
* return correct responses.
1313
*
14-
* @runInSeparateProcess
15-
* @preserveGlobalState disabled
14+
* @runTestsInSeparateProcesses
15+
* @preserveGlobalState disabled
1616
*/
1717
class ResourceControllerTest extends \CIUnitTestCase
1818
{

tests/system/RESTful/ResourcePresenterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* so we need to make sure that the methods routed to
1212
* return correct responses.
1313
*
14-
* @runInSeparateProcess
15-
* @preserveGlobalState disabled
14+
* @runTestsInSeparateProcesses
15+
* @preserveGlobalState disabled
1616
*/
1717
class ResourcePresenterTest extends \CIUnitTestCase
1818
{

tests/system/Test/ControllerTesterTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
use Config\Services;
77
use Tests\Support\Config\MockLogger as LoggerConfig;
88

9+
/**
10+
* Exercise our Controller class.
11+
*
12+
* @runTestsInSeparateProcesses
13+
* @preserveGlobalState disabled
14+
*/
915
class ControllerTesterTest extends \CIUnitTestCase
1016
{
1117

0 commit comments

Comments
 (0)