From 8a346e12571ebbc952df9921b25c52e0ceba1e11 Mon Sep 17 00:00:00 2001 From: David Coallier Date: Wed, 7 May 2008 14:56:37 +0000 Subject: [PATCH] - Test for bug #44811 (Improve error message when new SoapClient has invalid data) --- ext/soap/tests/bugs/bug44811.phpt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ext/soap/tests/bugs/bug44811.phpt diff --git a/ext/soap/tests/bugs/bug44811.phpt b/ext/soap/tests/bugs/bug44811.phpt new file mode 100644 index 0000000000..341e5af512 --- /dev/null +++ b/ext/soap/tests/bugs/bug44811.phpt @@ -0,0 +1,20 @@ +--TEST-- +Bug #44811 (Improve error messages when creating new SoapClient + which contains invalid data) +--SKIPIF-- + +--INI-- +soap.wsdl_cache_enabled=0 +--FILE-- +getMessage() . PHP_EOL; +} +die('ok'); +?> +--EXPECT-- +SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://slashdot.org' : Premature end of data in tag html line 3 + +ok -- 2.50.1