euromark 11 年之前
父节点
当前提交
7a48bbae22
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Test/Case/View/Helper/FormatHelperTest.php

+ 1 - 1
Test/Case/View/Helper/FormatHelperTest.php

@@ -368,7 +368,7 @@ class FormatHelperTest extends MyCakeTestCase {
 	public function testEncodeText() {
 	public function testEncodeText() {
 		$result = $this->Format->encodeText('foobar@somedomain.com');
 		$result = $this->Format->encodeText('foobar@somedomain.com');
 		$this->debug($result);
 		$this->debug($result);
-		$expected = ';&#x';
+		$expected = ';&#';
 		$this->assertContains($expected, $result);
 		$this->assertContains($expected, $result);
 	}
 	}