]> granicus.if.org Git - php/commitdiff
Fix bug76348.phpt
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 23 Jan 2020 14:08:20 +0000 (15:08 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 23 Jan 2020 14:08:20 +0000 (15:08 +0100)
Adjust for URL change in XSD file and mark as online test.

Is it possible for use to store http://x-road.eu/xsd/xroad.xsd
locally instead? Do relative file system paths work here?
I'm not familiar with this.

ext/soap/tests/bugs/bug76348.phpt
ext/soap/tests/bugs/bug76348.wsdl

index 6b9e71bc3cbd82972758dc7480c20152b96242be..a039955b8a0155cb46f97972206baf072eced0c0 100644 (file)
@@ -3,6 +3,7 @@ Bug #76348 (WSDL_CACHE_MEMORY causes Segmentation fault)
 --SKIPIF--
 <?php
 if (!extension_loaded('soap')) die('skip soap extension not available');
+if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
 ?>
 --FILE--
 <?php
index 79e583d469fb928c1cb2ae67ec6b0ca395b262f7..43628b63b54652c5e6642ed0006a17e0eb905dc1 100644 (file)
@@ -2,12 +2,12 @@
 <definitions
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-        xmlns:tns="http://example.x-road.ee/producer/"
+        xmlns:tns="http://example.x-road.eu/producer/"
         xmlns:xrd="http://x-road.eu/xsd/xroad.xsd"
-        targetNamespace="http://example.x-road.ee/producer/">
+        targetNamespace="http://example.x-road.eu/producer/">
     <types>
-        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.x-road.ee/producer/">
-            <import namespace="http://x-road.ee/xsd/x-road.xsd" schemaLocation="http://x-road.ee/xsd/x-road.xsd"/>
+        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.x-road.eu/producer/">
+            <import namespace="http://x-road.eu/xsd/x-road.xsd" schemaLocation="http://x-road.eu/xsd/x-road.xsd"/>
             <import namespace="http://www.w3.org/XML/1998/namespace"
                     schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
             <element name="exampleOperation">