mark all tests that use session to run as separate processes and not share global state

This commit is contained in:
Andrei Furnica 2018-08-02 14:41:52 +03:00
parent ee5f6a5355
commit 1f1149e2ee
No known key found for this signature in database
GPG Key ID: 6408728868B34CDD
3 changed files with 9 additions and 9 deletions

View File

@ -157,7 +157,7 @@ class CommomFunctionsTest extends \CIUnitTestCase
// ------------------------------------------------------------------------
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testSessionInstance()
@ -166,7 +166,7 @@ class CommomFunctionsTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testSessionVariable()
@ -176,7 +176,7 @@ class CommomFunctionsTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testSessionVariableNotThere()

View File

@ -130,7 +130,7 @@ class ServicesTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testNewSession()
@ -140,7 +140,7 @@ class ServicesTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testNewSessionWithNullConfig()
@ -150,7 +150,7 @@ class ServicesTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testCallStatic()

View File

@ -53,7 +53,7 @@ class RedirectResponseTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testWithInput()
@ -73,7 +73,7 @@ class RedirectResponseTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testWithValidationErrors()
@ -94,7 +94,7 @@ class RedirectResponseTest extends \CIUnitTestCase
}
/**
* @runTestsInSeparateProcesses
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testWith()