summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-23 15:08:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-23 15:08:20 +0100
commit2c2cbbbf55f82026655d4477e00a938200fdf79a (patch)
treeb5dc6074328b1ddb39d17ecf539dadfec4191c5e
parent67421a780d670ea2eec8157c39f2682bb3cfb7dd (diff)
downloadphp-git-2c2cbbbf55f82026655d4477e00a938200fdf79a.tar.gz
Fix bug76348.phpt
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.
-rw-r--r--ext/soap/tests/bugs/bug76348.phpt1
-rw-r--r--ext/soap/tests/bugs/bug76348.wsdl8
2 files changed, 5 insertions, 4 deletions
diff --git a/ext/soap/tests/bugs/bug76348.phpt b/ext/soap/tests/bugs/bug76348.phpt
index 6b9e71bc3c..a039955b8a 100644
--- a/ext/soap/tests/bugs/bug76348.phpt
+++ b/ext/soap/tests/bugs/bug76348.phpt
@@ -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
diff --git a/ext/soap/tests/bugs/bug76348.wsdl b/ext/soap/tests/bugs/bug76348.wsdl
index 79e583d469..43628b63b5 100644
--- a/ext/soap/tests/bugs/bug76348.wsdl
+++ b/ext/soap/tests/bugs/bug76348.wsdl
@@ -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">