]> granicus.if.org Git - php/commitdiff
fix tests as discussed
authorAntony Dovgal <tony2001@php.net>
Tue, 26 Jun 2007 12:12:31 +0000 (12:12 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 26 Jun 2007 12:12:31 +0000 (12:12 +0000)
ext/xmlwriter/tests/007.phpt
ext/xmlwriter/tests/OO_007.phpt

index 676dc0e59035d66f9495a67dce0faa073f0f79eb..47965c73c41ce137d6ed017397b8db377e22a7bb 100644 (file)
@@ -3,7 +3,7 @@ XMLWriter: libxml2 XML Writer, Elements & Attributes
 --SKIPIF--
 <?php 
 if (!extension_loaded("xmlwriter")) die("skip"); 
-if (!function_exists("xmlwriter_start_attribute_ns")) die("skip: libxml2 2.6.17+ required");
+if (LIBXML_VERSION < 20629) die("skip: libxml2 2.6.29+ required");
 ?>
 --FILE--
 <?php 
index 3012f4b8a1a4e9a864a298ec046d5490d31b18a5..257a5cd90cd976a9deb18110be6bbd1c4ac30ae4 100644 (file)
@@ -3,7 +3,7 @@ XMLWriter: libxml2 XML Writer, Elements & Attributes
 --SKIPIF--
 <?php 
 if (!extension_loaded("xmlwriter")) die("skip"); 
-if (!function_exists("xmlwriter_start_attribute_ns")) die("skip: libxml2 2.6.17+ required");
+if (LIBXML_VERSION < 20629) die("skip: libxml2 2.6.29+ required");
 ?>
 --FILE--
 <?php