[SoapClient] Fixed tests if proxy exists in environment variables

This commit is contained in:
Francis Besset
2014-08-18 10:29:49 +02:00
parent 29170576c2
commit 33d641de4e
11 changed files with 35 additions and 14 deletions

View File

@ -20,6 +20,7 @@ class MtomServerInteropTest extends TestCase
'base64Binary' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\base64Binary',
'AttachmentRequest' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\AttachmentRequest',
),
'proxy_host' => false,
);
public function testAttachment()
@ -40,4 +41,4 @@ class MtomServerInteropTest extends TestCase
$this->assertEquals($b64->_, file_get_contents($fileCreatedByServer));
unlink($fileCreatedByServer);
}
}
}

View File

@ -23,6 +23,7 @@ class SwaServerInteropTest extends TestCase
'uploadFile' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\uploadFile',
'uploadFileResponse' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\uploadFileResponse',
),
'proxy_host' => false,
);
public function testUploadDownloadText()

View File

@ -30,6 +30,7 @@ class WsSecuritySigEncServerInteropTest extends TestCase
'addBookResponse' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse',
'BookInformation' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation',
),
'proxy_host' => false,
);
public function testSigEnc()
@ -69,4 +70,4 @@ class WsSecuritySigEncServerInteropTest extends TestCase
// getBooksByType("scifi");
}
}
}

View File

@ -29,6 +29,7 @@ class WsSecurityUserPassServerInteropTest extends TestCase
'addBookResponse' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\addBookResponse',
'BookInformation' => 'BeSimple\SoapClient\Tests\ServerInterop\Fixtures\BookInformation',
),
'proxy_host' => false,
);
public function testUserPassText()
@ -82,4 +83,4 @@ class WsSecurityUserPassServerInteropTest extends TestCase
// getBooksByType("scifi");
}
}
}