Skip to content

Commit 14ffb28

Browse files
committed
issue #31 - assign $soapClient variable
1 parent b0429f6 commit 14ffb28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/SoapClientTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public static function classMap()
485485
*/
486486
public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingUriAndLocationOptions()
487487
{
488-
new SoapClient(array(
488+
$soapClient = new SoapClient(array(
489489
SoapClient::WSDL_URL => null,
490490
));
491491

@@ -496,7 +496,7 @@ public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingUriAnd
496496
*/
497497
public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingLocationOption()
498498
{
499-
new SoapClient(array(
499+
$soapClient = new SoapClient(array(
500500
SoapClient::WSDL_URL => null,
501501
SoapClient::WSDL_URI => 'http://api.bing.net:80/soap.asmx',
502502
));
@@ -508,7 +508,7 @@ public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingLocati
508508
*/
509509
public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingUriOption()
510510
{
511-
new SoapClient(array(
511+
$soapClient = new SoapClient(array(
512512
SoapClient::WSDL_URL => null,
513513
SoapClient::WSDL_LOCATION => 'http://api.bing.net:80/soap.asmx',
514514
));
@@ -520,7 +520,7 @@ public function testInvalidNonWsdlModeMustNotCreateASoapInstanceForMissingUriOpt
520520
*/
521521
public function testInvalidNonWsdlModeMustCreateASoapInstanceWithUriAndLocationOptions()
522522
{
523-
new SoapClient(array(
523+
$soapClient = new SoapClient(array(
524524
SoapClient::WSDL_URL => null,
525525
SoapClient::WSDL_LOCATION => 'http://api.bing.net:80/soap.asmx',
526526
SoapClient::WSDL_URI => 'http://api.bing.net:80/soap.asmx',

0 commit comments

Comments
 (0)