Skip to content

Commit 7cdcfbf

Browse files
eXorusDavertMik
authored andcommitted
inverse expected and actual (#3422)
1 parent 241111a commit 7cdcfbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/SOAP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function sendSoapRequest($action, $body = "")
266266
public function seeSoapResponseEquals($xml)
267267
{
268268
$xml = SoapUtils::toXml($xml);
269-
$this->assertEquals($this->getXmlResponse()->C14N(), $xml->C14N());
269+
$this->assertEquals($xml->C14N(), $this->getXmlResponse()->C14N());
270270
}
271271

272272
/**
@@ -307,7 +307,7 @@ public function seeSoapResponseIncludes($xml)
307307
public function dontSeeSoapResponseEquals($xml)
308308
{
309309
$xml = SoapUtils::toXml($xml);
310-
\PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString($this->getXmlResponse()->C14N(), $xml->C14N());
310+
\PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString($xml->C14N(), $this->getXmlResponse()->C14N());
311311
}
312312

313313

0 commit comments

Comments
 (0)