From b083a4f512b682c9252f52af39c8c4f446e40743 Mon Sep 17 00:00:00 2001 From: Christian Kerl Date: Tue, 5 Oct 2010 23:22:12 +0200 Subject: [PATCH] fixed test assertion --- Tests/SoapKernelTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } /**