We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1f979 commit 1979f92Copy full SHA for 1979f92
tests/SoapClientTest.php
@@ -52,6 +52,19 @@ public function testSetLocation()
52
53
$this->assertSAme('http://api.bing.net:80/soap.asm', $soapClient->getSoapClient()->location);
54
}
55
+ /**
56
+ *
57
+ */
58
+ public function testLocationOotion()
59
+ {
60
+ $soapClient = new SoapClient(array(
61
+ SoapClient::WSDL_URL => __DIR__ . '/resources/bingsearch.wsdl',
62
+ SoapClient::WSDL_CLASSMAP => self::classMap(),
63
+ SoapClient::WSDL_LOCATION => 'http://api.bing.net:80/soap.asm',
64
+ ));
65
+
66
+ $this->assertSAme('http://api.bing.net:80/soap.asm', $soapClient->getSoapClient()->location);
67
+ }
68
/**
69
*
70
*/
0 commit comments