File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tests/unit/Codeception/Module Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33use Codeception \Util \Stub as Stub ;
44use Codeception \Util \Soap as SoapUtil ;
55
6+ /**
7+ * Class SoapTest
8+ * @group appveyor
9+ */
610class 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 ' );
You can’t perform that action at this time.
0 commit comments