Skip to content
Permalink
Browse files

Don't preserve global state.

Doing so results in broken includes for isolated tests.
  • Loading branch information...
markstory committed Aug 6, 2017
1 parent d330657 commit b15e4867c0b99fe57b808a3122361942eab6473a
@@ -266,6 +266,7 @@ public function testToCakeUploadedFiles()
* Test that the transformed request sets the session path
* as expected.
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -122,6 +122,7 @@ public function testFromGlobalsInput()
/**
* Test fromGlobals includes the session
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -91,6 +91,7 @@ public function tearDown()
/**
* test setting ini properties with Session configuration.
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -117,6 +118,7 @@ public function testSessionConfigIniSetting()
/**
* test session cookie path setting
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -267,6 +269,7 @@ public function testConsume()
/**
* testId method
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -459,6 +462,7 @@ public function testReadingSavedEmpty()
/**
* test using a handler from app/Model/Datasource/Session.
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -483,6 +487,7 @@ public function testUsingAppLibsHandler()
/**
* test using a handler from a plugin.
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -506,6 +511,7 @@ public function testUsingPluginHandler()
/**
* Tests that it is possible to pass an already made instance as the session engine
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -537,6 +543,7 @@ public function testBadEngine()
/**
* Test that cookieTimeout matches timeout when unspecified.
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -555,6 +562,7 @@ public function testCookieTimeoutFallback()
/**
* Tests that the cookie name can be changed with configuration
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
@@ -567,6 +575,7 @@ public function testSessionName()
/**
* Test that a call of check() starts the session when cookies are disabled in php.ini
*
* @preserveGlobalState disabled
* @runInSeparateProcess
*/
public function testCheckStartsSessionWithCookiesDisabled()
@@ -609,7 +618,9 @@ public function testCheckStartsSessionWithCookie()
/**
* Test that a call of check() starts the session when the session ID is passed via URL and session.use_trans_sid is enabled
*
* @preserveGlobalState disabled
* @runInSeparateProcess
* @return void
*/
public function testCheckStartsSessionWithSIDinURL()
{

0 comments on commit b15e486

Please sign in to comment.
You can’t perform that action at this time.