Skip to content

Commit 3a62ee6

Browse files
committed
added Rest and Soap to appveyor test suite
1 parent 1b41335 commit 3a62ee6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/unit/Codeception/Module/SoapTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
use Codeception\Util\Stub as Stub;
44
use Codeception\Util\Soap as SoapUtil;
55

6+
/**
7+
* Class SoapTest
8+
* @group appveyor
9+
*/
610
class SoapTest extends \PHPUnit_Framework_TestCase
711
{
812

@@ -15,7 +19,7 @@ class SoapTest extends \PHPUnit_Framework_TestCase
1519

1620
public function setUp() {
1721
$this->module = new \Codeception\Module\SOAP();
18-
$this->module->_setConfig(array('schema' => 'http://www.w3.org/2001/xml.xsd', 'endpoint' => 'http://codeception.com/api/wsdl'));
22+
$this->module->_setConfig(['schema' => 'http://www.w3.org/2001/xml.xsd', 'endpoint' => 'http://codeception.com/api/wsdl']);
1923
$this->layout = \Codeception\Configuration::dataDir().'/xml/layout.xml';
2024
$this->module->client = Stub::makeEmpty('\Codeception\Lib\Connector\Universal');
2125
$this->module->is_functional = true;
@@ -30,7 +34,7 @@ public function testXmlIsBuilt() {
3034
}
3135

3236
public function testBuildHeaders() {
33-
$this->module->haveSoapHeader('AuthHeader', array('username' => 'davert', 'password' => '123456'));
37+
$this->module->haveSoapHeader('AuthHeader', ['username' => 'davert', 'password' => '123456']);
3438
$dom = new \DOMDocument();
3539
$dom->load($this->layout);
3640
$header = $dom->createElement('AuthHeader');

0 commit comments

Comments
 (0)