From: Anatoliy Belsky Date: Mon, 16 Apr 2012 13:35:47 +0000 (+0200) Subject: Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails X-Git-Tag: php-5.5.0alpha1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaeeb0f5e88c7e68c6fc44abb597af10e7b925d7;p=php Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails --- diff --git a/ext/soap/tests/bugs/bug31422-win.phpt b/ext/soap/tests/bugs/bug31422-win.phpt new file mode 100644 index 0000000000..ba8df0726c --- /dev/null +++ b/ext/soap/tests/bugs/bug31422-win.phpt @@ -0,0 +1,47 @@ +--TEST-- +Bug #31422 (No Error-Logging on SoapServer-Side) +--SKIPIF-- + +--INI-- +log_errors=1 +--FILE-- +"http://testuri.org")); +$server->addfunction("Add"); + +$HTTP_RAW_POST_DATA = << + + + + 22 + 33 + + + +EOF; + +$server->handle($HTTP_RAW_POST_DATA); +echo "ok\n"; +?> +--EXPECTF-- + +SOAP-ENV:ServerHello +PHP Warning: fopen() expects at least 2 parameters, 0 given in %sbug31422-win.php on line %d +PHP Fatal error: Hello in %sbug31422-win.php on line %d diff --git a/ext/soap/tests/bugs/bug31422.phpt b/ext/soap/tests/bugs/bug31422.phpt index c4cf7e9f91..c8ddcfe092 100644 --- a/ext/soap/tests/bugs/bug31422.phpt +++ b/ext/soap/tests/bugs/bug31422.phpt @@ -1,7 +1,12 @@ --TEST-- Bug #31422 (No Error-Logging on SoapServer-Side) --SKIPIF-- - + --INI-- log_errors=1 error_log=