Skip to content

Commit

Permalink
inverse expected and actual (#3422)
Browse files Browse the repository at this point in the history
  • Loading branch information
eXorus authored and DavertMik committed Aug 10, 2016
1 parent 72cfeb4 commit 8587807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Codeception/Module/SOAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function sendSoapRequest($action, $body = "")
public function seeSoapResponseEquals($xml)
{
$xml = SoapUtils::toXml($xml);
$this->assertEquals($this->getXmlResponse()->C14N(), $xml->C14N());
$this->assertEquals($xml->C14N(), $this->getXmlResponse()->C14N());
}

/**
Expand Down Expand Up @@ -307,7 +307,7 @@ public function seeSoapResponseIncludes($xml)
public function dontSeeSoapResponseEquals($xml)
{
$xml = SoapUtils::toXml($xml);
\PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString($this->getXmlResponse()->C14N(), $xml->C14N());
\PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString($xml->C14N(), $this->getXmlResponse()->C14N());
}


Expand Down

0 comments on commit 8587807

Please sign in to comment.