com php-src: Don't hard-code object number in expectation: ext/soap/tests/schema/schema085.phpt

From: Date: Sun, 16 Sep 2018 13:52:18 +0000
Subject: com php-src: Don't hard-code object number in expectation: ext/soap/tests/schema/schema085.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103117@lists.php.net to get a copy of this message
Commit: 25685942fae4896ee2384cfb34c023b262f4d3af Author: Christoph M. Becker <cmbecker69@gmx.de> Sun, 16 Sep 2018 15:52:18 +0200 Parents: 2d81db5643feb9e03a4417b4b5ce53b32d7dab47 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25685942fae4896ee2384cfb34c023b262f4d3af Log: Don't hard-code object number in expectation Changed paths: M ext/soap/tests/schema/schema085.phpt Diff: diff --git a/ext/soap/tests/schema/schema085.phpt b/ext/soap/tests/schema/schema085.phpt index 9a93ac7..1a1ab15 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"]=>

« previous php.cvs (#103117) next »