Mark Scherer 11 年 前
コミット
5586db5fe1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      TestSuite/IntegrationTestCase.php

+ 1 - 1
TestSuite/IntegrationTestCase.php

@@ -376,7 +376,7 @@ abstract class IntegrationTestCase extends MyControllerTestCase {
 		if (!$this->_response) {
 			$this->fail('No response set, cannot assert content. ' . $message);
 		}
-		$this->assertNotContains($content, $this->_response->body(), $message);
+		$this->assertNotContains($content, (string)$this->_response->body(), $message);
 	}
 
 /**