ソースを参照

stick to previous check

Mark Scherer 11 年 前
コミット
68a5ca8458
1 ファイル変更1 行追加1 行削除
  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);