cvs: php-src /ext/soap/tests bug46760.phpt
| From: | Felipe Pena | Date: | Mon, 05 Jan 2009 22:19:23 +0000 |
| Subject: | cvs: php-src /ext/soap/tests bug46760.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55373@lists.php.net to get a copy of this message | ||
felipe Mon Jan 5 22:19:23 2009 UTC
Modified files:
/php-src/ext/soap/tests bug46760.phpt
Log:
- New test
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/tests/bug46760.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/soap/tests/bug46760.phpt
diff -u /dev/null php-src/ext/soap/tests/bug46760.phpt:1.2
--- /dev/null Mon Jan 5 22:19:23 2009
+++ php-src/ext/soap/tests/bug46760.phpt Mon Jan 5 22:19:23 2009
@@ -0,0 +1,16 @@
+--TEST--
+Bug #46760 (SoapClient doRequest fails when proxy is used)
+--FILE--
+<?php
+
+$client = new SoapClient(null, array('proxy_host' => "localhost",
+ 'proxy_port' => '8080',
+ 'login' => "user",
+ 'password' => "test",
+ 'uri' => 'mo:http://www.w3.org/',
+ 'location' => 'http://some.url'));
+var_dump($client->_proxy_port);
+
+?>
+--EXPECT--
+int(8080)