Revert whole code to legacy
This commit is contained in:
23
src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php
Normal file
23
src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace BeSimple\SoapClient\Tests\AxisInterop;
|
||||
|
||||
class TestCase extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
$ch = curl_init('http://localhost:8080/');
|
||||
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
|
||||
curl_setopt($ch, CURLOPT_HEADER, true);
|
||||
curl_setopt($ch, CURLOPT_NOBODY, true);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
||||
if (curl_exec($ch) === false) {
|
||||
$this->markTestSkipped(
|
||||
'The Axis server is not started on port 8080.'
|
||||
);
|
||||
}
|
||||
|
||||
curl_close($ch);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user