[PHP-CVS] com php-src: Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails: ext/soap/tests/bugs/bug31422-win.phpt ext/soap/tests/bugs/bug31422.phpt

2012-04-16 Thread Anatoliy Belsky
Commit:eaeeb0f5e88c7e68c6fc44abb597af10e7b925d7
Author:Anatoliy Belsky  Mon, 16 Apr 2012 15:35:47 
+0200
Parents:   a688e69baed276ab65a0c96d7d5647dd0c4f3e37
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=eaeeb0f5e88c7e68c6fc44abb597af10e7b925d7

Log:
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails

Bugs:
https://bugs.php.net/61719
https://bugs.php.net/31422

Changed paths:
  A  ext/soap/tests/bugs/bug31422-win.phpt
  M  ext/soap/tests/bugs/bug31422.phpt


Diff:
diff --git a/ext/soap/tests/bugs/bug31422-win.phpt 
b/ext/soap/tests/bugs/bug31422-win.phpt
new file mode 100644
index 000..ba8df07
--- /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 = <<
+http://schemas.xmlsoap.org/soap/encoding/";
+  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xmlns:si="http://soapinterop.org/xsd";>
+  
+http://testuri.org";>
+  22
+  33
+
+  
+
+EOF;
+
+$server->handle($HTTP_RAW_POST_DATA);
+echo "ok\n";
+?>
+--EXPECTF--
+
+http://schemas.xmlsoap.org/soap/envelope/";>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 c4cf7e9..c8ddcfe 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=


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] com php-src: Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails: ext/soap/tests/bugs/bug31422-win.phpt ext/soap/tests/bugs/bug31422.phpt

2012-04-16 Thread Anatoliy Belsky
Commit:9c8907ec10aa7af751c9717293c707fe717831e4
Author:Anatoliy Belsky  Mon, 16 Apr 2012 15:38:46 
+0200
Parents:   1c435ae498bb89c466e5c74e3be8c85cff17835a
Branches:  PHP-5.3 PHP-5.4 master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=9c8907ec10aa7af751c9717293c707fe717831e4

Log:
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails

Bugs:
https://bugs.php.net/61719
https://bugs.php.net/31422

Changed paths:
  A  ext/soap/tests/bugs/bug31422-win.phpt
  M  ext/soap/tests/bugs/bug31422.phpt


Diff:
diff --git a/ext/soap/tests/bugs/bug31422-win.phpt 
b/ext/soap/tests/bugs/bug31422-win.phpt
new file mode 100644
index 000..ba8df07
--- /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 = <<
+http://schemas.xmlsoap.org/soap/encoding/";
+  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xmlns:si="http://soapinterop.org/xsd";>
+  
+http://testuri.org";>
+  22
+  33
+
+  
+
+EOF;
+
+$server->handle($HTTP_RAW_POST_DATA);
+echo "ok\n";
+?>
+--EXPECTF--
+
+http://schemas.xmlsoap.org/soap/envelope/";>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 459da78..40e8973 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
 --FILE--


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php