diff --git a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php index 678a1df23..887b25b0c 100644 --- a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php @@ -337,6 +337,14 @@ class HtmlHelperTest extends CakeTestCase { $result = $this->Html->link('http://www.example.org?param1=value1¶m2=value2'); $expected = array('a' => array('href' => 'http://www.example.org?param1=value1&param2=value2'), 'http://www.example.org?param1=value1&param2=value2', '/a'); $this->assertTags($result, $expected); + + $result = $this->Html->link('write me', 'mailto:example@cakephp.org'); + $expected = array('a' => array('href' => 'mailto:example@cakephp.org'), 'write me', '/a'); + $this->assertTags($result, $expected); + + $result = $this->Html->link('call me on 0123465-798', 'tel:0123465-798'); + $expected = array('a' => array('href' => 'tel:0123465-798'), 'call me on 0123465-798', '/a'); + $this->assertTags($result, $expected); } /**