BUGFIX Fixed SoapModelAccessTest to conform to new 401 returns in RestfulServer

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73835 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-03-30 05:20:08 +00:00
parent ec42a12162
commit ea9ce082e2

View File

@ -56,7 +56,7 @@ XML;
'editor@test.com',
'wrongpassword'
);
$this->assertEquals('<error type="authentication" code="403">Forbidden</error>', $soapResponse);
$this->assertEquals('<error type="authentication" code="401">Unauthorized</error>', $soapResponse);
// Check that the details weren't saved
$c = $this->getTestSoapConnection();