From: Dmitry Stogov Date: Wed, 20 Apr 2005 06:35:29 +0000 (+0000) Subject: Some tests where fixed X-Git-Tag: php-5.0.5RC1~406 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8594a3806fd175520fba109aacb5ff21c8480996;p=php Some tests where fixed --- diff --git a/ext/soap/tests/bugs/bug29236.phpt b/ext/soap/tests/bugs/bug29236.phpt index 372449fbb2..4dbc302c17 100644 --- a/ext/soap/tests/bugs/bug29236.phpt +++ b/ext/soap/tests/bugs/bug29236.phpt @@ -3,7 +3,7 @@ Bug #29236 (memory error when wsdl-cache is enabled) --SKIPIF-- --FILE-- -__getFunctions()); ?> @@ -17,4 +17,4 @@ array(4) { string(41) "LogoutResponse Logout(Logout $parameters)" [3]=> string(62) "GetSystemInfoResponse GetSystemInfo(GetSystemInfo $parameters)" -} \ No newline at end of file +} diff --git a/ext/soap/tests/classmap.wsdl b/ext/soap/tests/classmap.wsdl index 25062630ac..7fcf596244 100644 --- a/ext/soap/tests/classmap.wsdl +++ b/ext/soap/tests/classmap.wsdl @@ -1,60 +1,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ext/soap/tests/schema/schema074.phpt b/ext/soap/tests/schema/schema074.phpt new file mode 100644 index 0000000000..3dbba0cd25 --- /dev/null +++ b/ext/soap/tests/schema/schema074.phpt @@ -0,0 +1,29 @@ +--TEST-- +SOAP XML Schema 74: Structure with attributes and qualified elements +--SKIPIF-- + +--FILE-- + + + + + + +EOF; + +test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5), "rpc", "encoded", 'attributeFormDefault="qualified"'); +echo "ok"; +?> +--EXPECTF-- + +str +object(stdClass)#%d (2) { + ["str"]=> + string(3) "str" + ["int"]=> + int(123) +} +ok