mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
asserting escaped output for sms protocol
This commit is contained in:
parent
b6fe8af701
commit
319658e9d3
1 changed files with 5 additions and 0 deletions
|
@ -357,6 +357,11 @@ class HtmlHelperTest extends CakeTestCase {
|
|||
$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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue