Skip to content

Commit 2c2cbbb

Browse files
committed
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.
1 parent 67421a7 commit 2c2cbbb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ext/soap/tests/bugs/bug76348.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Bug #76348 (WSDL_CACHE_MEMORY causes Segmentation fault)
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('soap')) die('skip soap extension not available');
6+
if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
67
?>
78
--FILE--
89
<?php

ext/soap/tests/bugs/bug76348.wsdl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<definitions
33
xmlns="http://schemas.xmlsoap.org/wsdl/"
44
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5-
xmlns:tns="http://example.x-road.ee/producer/"
5+
xmlns:tns="http://example.x-road.eu/producer/"
66
xmlns:xrd="http://x-road.eu/xsd/xroad.xsd"
7-
targetNamespace="http://example.x-road.ee/producer/">
7+
targetNamespace="http://example.x-road.eu/producer/">
88
<types>
9-
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.x-road.ee/producer/">
10-
<import namespace="http://x-road.ee/xsd/x-road.xsd" schemaLocation="http://x-road.ee/xsd/x-road.xsd"/>
9+
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.x-road.eu/producer/">
10+
<import namespace="http://x-road.eu/xsd/x-road.xsd" schemaLocation="http://x-road.eu/xsd/x-road.xsd"/>
1111
<import namespace="http://www.w3.org/XML/1998/namespace"
1212
schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
1313
<element name="exampleOperation">

0 commit comments

Comments
 (0)