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) {
 		if (!$this->_response) {
 			$this->fail('No response set, cannot assert content. ' . $message);
 			$this->fail('No response set, cannot assert content. ' . $message);
 		}
 		}
-		$this->assertSame($content, (string)$this->_response->body(), $message);
+		$this->assertEquals($content, $this->_response->body(), $message);
 	}
 	}
 
 
 /**
 /**