Aleksander Machniak
2012-09-21 97313ac258914e4c26aefec912e8677d8436175e
Fix test for html::quote()
1 files modified
5 ■■■■■ changed files
tests/Framework/Html.php 5 ●●●●● patch | view | raw | blame | history
tests/Framework/Html.php
@@ -31,7 +31,6 @@
            array('>', '>'),
            array('&', '&'),
            array('&', '&'),
            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);
    }
}