summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-09-16 15:52:18 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-09-16 15:52:18 +0200
commit25685942fae4896ee2384cfb34c023b262f4d3af (patch)
treeeb68f03b69a7f0e655d63c250c94d2da0917f5b8
parent2d81db5643feb9e03a4417b4b5ce53b32d7dab47 (diff)
downloadphp-git-25685942fae4896ee2384cfb34c023b262f4d3af.tar.gz
Don't hard-code object number in expectation
-rw-r--r--ext/soap/tests/schema/schema085.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/tests/schema/schema085.phpt b/ext/soap/tests/schema/schema085.phpt
index 9a93ac7235..1a1ab15999 100644
--- a/ext/soap/tests/schema/schema085.phpt
+++ b/ext/soap/tests/schema/schema085.phpt
@@ -33,10 +33,10 @@ class B extends A {
test_schema($schema,'type="tns:testType"',new B());
echo "ok";
?>
---EXPECT--
+--EXPECTF--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://test-uri/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">1</int><int2 xsi:type="xsd:int">2</int2></testParam></ns1:test></SOAP-ENV:Body></SOAP-ENV:Envelope>
-object(stdClass)#5 (2) {
+object(stdClass)#%d (2) {
["int"]=>
int(1)
["int2"]=>