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

+ 1 - 1
TestSuite/IntegrationTestCase.php

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