Skip to content
Permalink
Browse files

asserting escaped output for sms protocol

  • Loading branch information...
dereuromark committed Aug 1, 2012
1 parent b6fe8af commit 319658e9d37f8a5a2d891db058d9c5205f6474dc
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
@@ -357,6 +357,11 @@ public function testLink() {
$result = $this->Html->link('say hello to 0123465-798', 'sms:0123465-798?body=hello there');
$expected = array('a' => array('href' => 'sms:0123465-798?body=hello there'), 'say hello to 0123465-798', '/a');
$this->assertTags($result, $expected);
$result = $this->Html->link('say hello to 0123465-798', 'sms:0123465-798?body=hello "cakephp"');
debug($result);
$expected = array('a' => array('href' => 'sms:0123465-798?body=hello "cakephp"'), 'say hello to 0123465-798', '/a');
$this->assertTags($result, $expected);
}
/**

0 comments on commit 319658e

Please sign in to comment.
You can’t perform that action at this time.