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)



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

Reply via email to