]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Tue, 6 Dec 2005 10:23:28 +0000 (10:23 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 6 Dec 2005 10:23:28 +0000 (10:23 +0000)
ext/filter/tests/006.phpt
ext/filter/tests/filter_data.phpt

index 5ad6c12c33f5b4696a1ed393714be90c6929d2e9..eb9077fa667f30cc8b1851f9f8b50e4c2a896ea8 100644 (file)
@@ -5,7 +5,7 @@ foo=<b>abc</b>
 --GET--
 --FILE--
 <?php 
-echo filter(FILTER_POST, 'foo', FILTER_HTML);
+echo input_get(INPUT_POST, 'foo', FS_STRIPPED);
 ?>
 --EXPECT--
 abc
index 281c85a94c7b87e10fd8a0a8d4a72da2a7cff0f2..dc2c0f683b2feee96b5346c0f514602547897856 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Simple filter_data() tests
+--GET--
+
 --FILE--
 <?php