mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
ec42a12162
commit
ea9ce082e2
@ -56,7 +56,7 @@ XML;
|
|||||||
'editor@test.com',
|
'editor@test.com',
|
||||||
'wrongpassword'
|
'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
|
// Check that the details weren't saved
|
||||||
$c = $this->getTestSoapConnection();
|
$c = $this->getTestSoapConnection();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user