summaryrefslogtreecommitdiff
path: root/tests/Framework/Html.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-21 10:18:09 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-21 10:18:09 +0200
commit97313ac258914e4c26aefec912e8677d8436175e (patch)
tree0a7874602ed3780314576c244d763168e8428b6a /tests/Framework/Html.php
parent824c1121e78e91e36953f241a02c94094c6ea21f (diff)
Fix test for html::quote()
Diffstat (limited to 'tests/Framework/Html.php')
-rw-r--r--tests/Framework/Html.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Framework/Html.php b/tests/Framework/Html.php
index 8a27baca8..60284deef 100644
--- a/tests/Framework/Html.php
+++ b/tests/Framework/Html.php
@@ -31,7 +31,6 @@ class Framework_Html extends PHPUnit_Framework_TestCase
array('>', '&gt;'),
array('&', '&amp;'),
array('&amp;', '&amp;amp;'),
- array('&amp;', '&amp;', true),
);
}
@@ -39,8 +38,8 @@ class Framework_Html extends PHPUnit_Framework_TestCase
* Test for quote()
* @dataProvider data_quote
*/
- function test_quote($str, $result, $validate = false)
+ function test_quote($str, $result)
{
- $this->assertEquals(html::quote($str, $validate), $result);
+ $this->assertEquals(html::quote($str), $result);
}
}