Fixed ALF-10539: Test disabled: SiteServiceImplTest testJSAPI

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2011-09-30 23:01:45 +00:00
parent c5f94ae12e
commit e61f82058f
2 changed files with 5 additions and 5 deletions

View File

@@ -793,7 +793,7 @@ public class SiteServiceImpl extends AbstractLifecycleBean implements SiteServic
sp.addStore(siteRoot.getStoreRef()); sp.addStore(siteRoot.getStoreRef());
sp.setLanguage(SearchService.LANGUAGE_LUCENE); sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery(query.toString()); sp.setQuery(query.toString());
if (size != 0) if (size > 0)
{ {
sp.setLimit(size); sp.setLimit(size);
sp.setLimitBy(LimitBy.FINAL_SIZE); sp.setLimitBy(LimitBy.FINAL_SIZE);

View File

@@ -280,8 +280,8 @@ function testSiteCustomProperties()
// Execute test's // Execute test's
testCRUD(); testCRUD();
testListSites(); testListSites();
//testFindSites(); testFindSites();
//testGetSites(); testGetSites();
testMembership(); testMembership();
testContainer(); testContainer();
testPermissions(); testPermissions();