diff --git a/Tests/SoapKernelTest.php b/Tests/SoapKernelTest.php index 47aa0e9..79887b0 100644 --- a/Tests/SoapKernelTest.php +++ b/Tests/SoapKernelTest.php @@ -25,7 +25,7 @@ use Bundle\WebServiceBundle\Soap\SoapResponse; class SoapKernelTest extends \PHPUnit_Framework_TestCase { private static $soapRequestContent = '1020'; - private static $soapResponseContent = '200'; + private static $soapResponseContent = '200'; private $soapKernel; @@ -45,7 +45,7 @@ class SoapKernelTest extends \PHPUnit_Framework_TestCase $response = $this->soapKernel->handle(new SoapRequest(self::$soapRequestContent)); $this->assertEquals(200, $response->getReturnValue()); - $this->assertEquals(self::$soapResponseContent, $response->getContent()); + $this->assertXmlStringEqualsXmlString(self::$soapResponseContent, $response->getContent()); } /**