Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test for html::quote()

  • Loading branch information...
commit 97313ac258914e4c26aefec912e8677d8436175e 1 parent 824c112
@alecpl alecpl authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/Framework/Html.php
View
5 tests/Framework/Html.php
@@ -31,7 +31,6 @@ function data_quote()
array('>', '>'),
array('&', '&'),
array('&', '&'),
- array('&', '&', true),
);
}
@@ -39,8 +38,8 @@ function data_quote()
* 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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.