mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
mark all tests that use session to run as separate processes and not share global state
This commit is contained in:
parent
ee5f6a5355
commit
1f1149e2ee
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user