(Hopefully) fix broken workflow tests and public api network test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2013-09-20 16:07:12 +00:00
parent 7d3c43bbc4
commit c82ffb7237
4 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ public class PublicApiTenantWebScriptServletRuntime extends TenantWebScriptServl
} }
else else
{ {
if(!pathInfo.substring(0, 5).toLowerCase().equals("/cmis")) if(!pathInfo.substring(0, 6).toLowerCase().equals("/cmis/"))
{ {
// remove tenant // remove tenant
int idx = pathInfo.indexOf('/', 1); int idx = pathInfo.indexOf('/', 1);

View File

@@ -12,7 +12,7 @@ public class EnterprisePublicApiTestFixture extends EnterpriseTestFixture
"rest-api-test-context.xml" "rest-api-test-context.xml"
}; };
public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/lucene"}; public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/lucene/"};
private static EnterprisePublicApiTestFixture instance; private static EnterprisePublicApiTestFixture instance;

View File

@@ -12,7 +12,7 @@ public class TCKEnterpriseTestFixture extends EnterpriseTestFixture
"rest-api-test-context.xml" "rest-api-test-context.xml"
}; };
public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/solr"}; public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/solr/"};
private static TCKEnterpriseTestFixture instance; private static TCKEnterpriseTestFixture instance;

View File

@@ -1,2 +1,2 @@
index.subsystem.name=lucene index.subsystem.name=lucene
index.recovery.mode=FULL index.recovery.mode=AUTO