Browse Source

stick to previous check

Mark Scherer 11 years ago
parent
commit
68a5ca8458
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TestSuite/IntegrationTestCase.php

+ 1 - 1
TestSuite/IntegrationTestCase.php

@@ -187,7 +187,7 @@ abstract class IntegrationTestCase extends MyControllerTestCase {
 		$this->_requestSession = $this->controller->Session;
 
 		// Shim result of https://github.com/cakephp/cakephp/pull/5744 for earlier versions
-		if ((float)Configure::version() < 2.6) {
+		if ((float)Configure::version() <= 2.6) {
 			$header = $this->_response->header();
 			if (isset($header['Location']) && $this->_response->statusCode() === 200) {
 				$this->_response->statusCode(302);