From 97313ac258914e4c26aefec912e8677d8436175e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 21 Sep 2012 04:18:09 -0400
Subject: [PATCH] Fix test for html::quote()
---
tests/Framework/Html.php | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/Framework/Html.php b/tests/Framework/Html.php
index 8a27bac..60284de 100644
--- a/tests/Framework/Html.php
+++ b/tests/Framework/Html.php
@@ -31,7 +31,6 @@
array('>', '>'),
array('&', '&'),
array('&', '&amp;'),
- array('&', '&', true),
);
}
@@ -39,8 +38,8 @@
* 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);
}
}
--
Gitblit v1.9.1