summaryrefslogtreecommitdiff
path: root/ext/soap/tests
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-09-08 19:34:48 +0000
committerFelipe Pena <felipe@php.net>2008-09-08 19:34:48 +0000
commitedb34ed424820e72ee0b2d3a7775c109726bd705 (patch)
treeafc2a5683f53790a346144583750146c0637a899 /ext/soap/tests
parentb414862f9c69a42356a34159a0a3b4eb01766453 (diff)
downloadphp-git-edb34ed424820e72ee0b2d3a7775c109726bd705.tar.gz
- Changed error level E_ERROR into E_WARNING in parameter validation
Diffstat (limited to 'ext/soap/tests')
-rw-r--r--ext/soap/tests/bugs/bug31755.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/soap/tests/bugs/bug31755.phpt b/ext/soap/tests/bugs/bug31755.phpt
index c8153d88e6..600fd43058 100644
--- a/ext/soap/tests/bugs/bug31755.phpt
+++ b/ext/soap/tests/bugs/bug31755.phpt
@@ -14,4 +14,6 @@ $response= $client->__call('function', array(), null, $header);
print $client->__getLastRequest();
?>
--EXPECTF--
-Fatal error: SoapHeader::__construct(): Invalid namespace in %s on line %d
+Warning: SoapHeader::__construct(): Invalid namespace in %s on line %d
+<?xml version="1.0" encoding="UTF-8"?>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="myNS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><ns1:function/></SOAP-ENV:Body></SOAP-ENV:Envelope>