Fix test for html::quote()

pull/30/head
Aleksander Machniak 12 years ago
parent 824c1121e7
commit 97313ac258

@ -31,7 +31,6 @@ class Framework_Html extends PHPUnit_Framework_TestCase
array('>', '>'), array('>', '>'),
array('&', '&'), array('&', '&'),
array('&', '&'), array('&', '&'),
array('&', '&', true),
); );
} }
@ -39,8 +38,8 @@ class Framework_Html extends PHPUnit_Framework_TestCase
* Test for quote() * Test for quote()
* @dataProvider data_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);
} }
} }

Loading…
Cancel
Save