Attempt to fix failing unit tests that use runInSeparateProcess

This commit is contained in:
Marco van 't Wout
2024-06-04 14:06:43 +02:00
parent 1b95757ab7
commit baf51652ca
3 changed files with 5 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ class CCookieCollectionTest extends CTestCase
}
/**
* @runInSeparateProcess
* @preserveGlobalState disabled
* @outputBuffering enabled
*/
public function testAdd()
@@ -59,6 +60,7 @@ class CCookieCollectionTest extends CTestCase
}
/**
* @runInSeparateProcess
* @preserveGlobalState disabled
* @outputBuffering enabled
*/
public function testRemove()

View File

@@ -16,6 +16,7 @@ class CHttpSessionTest extends CTestCase {
* @covers CHttpSession::setGCProbability
*
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testSetGet() {
Yii::app()->setComponents(array('session' => array(

View File

@@ -31,6 +31,7 @@ class CWebUserTest extends CTestCase
/**
* @runInSeparateProcess
* @preserveGlobalState disabled
* @outputBuffering enabled
* @dataProvider booleanProvider
*/
@@ -59,6 +60,7 @@ class CWebUserTest extends CTestCase
/**
* @runInSeparateProcess
* @preserveGlobalState disabled
* @outputBuffering enabled
*/
public function testCheckAccess()