Site service membership API (Java and JavaScript) and associated unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-05-06 17:35:32 +00:00
parent 1763e48306
commit 7f192494de
2 changed files with 23 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ public abstract class BaseWebScriptTest extends TestCase
throws IOException
{
MockHttpServletResponse response = BaseWebScriptTest.getServer().submitRequest(method, url, new HashMap<String, String>(), body, contentType);
if (expectedStatus != response.getStatus())
if (expectedStatus > 0 && expectedStatus != response.getStatus())
{
if (response.getStatus() == 500)
{