mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
15646: Merged V3.1 to V3.2 15454: Fixed org.alfresco.repo.tenant.MultiTDemoTest that caused build failed. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -719,7 +719,7 @@ public class MultiTDemoTest extends TestCase
|
|||||||
{
|
{
|
||||||
// search for local copy of bootstrapped file 'invite_user_email.ftl' (see email_templates.acp)
|
// search for local copy of bootstrapped file 'invite_user_email.ftl' (see email_templates.acp)
|
||||||
String origText = "You have been invited to";
|
String origText = "You have been invited to";
|
||||||
String query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/*\" +TEXT:\""+origText+"\"";
|
String query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/app:invite_email_templates/*\" +TEXT:\""+origText+"\"";
|
||||||
ResultSet resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
ResultSet resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
||||||
assertEquals(1, resultSet.length());
|
assertEquals(1, resultSet.length());
|
||||||
|
|
||||||
@@ -739,11 +739,11 @@ public class MultiTDemoTest extends TestCase
|
|||||||
|
|
||||||
cociService.checkin(workingCopyNodeRef, null);
|
cociService.checkin(workingCopyNodeRef, null);
|
||||||
|
|
||||||
query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/*\" +TEXT:\""+origText+"\"";
|
query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/app:invite_email_templates/*\" +TEXT:\""+origText+"\"";
|
||||||
resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
||||||
assertEquals(0, resultSet.length());
|
assertEquals(0, resultSet.length());
|
||||||
|
|
||||||
query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/*\" +TEXT:\""+updateText+"\"";
|
query = "+PATH:\"/app:company_home/app:dictionary/app:email_templates/app:invite_email_templates/*\" +TEXT:\""+updateText+"\"";
|
||||||
resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
resultSet = searchService.query(SPACES_STORE, SearchService.LANGUAGE_LUCENE, query);
|
||||||
assertEquals(1, resultSet.length());
|
assertEquals(1, resultSet.length());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user