mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-1742 Use txt extension so that document content is indexed correctly.
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ public class FingerPrintTest extends AbstractE2EFunctionalTest
|
||||
public void makeSureFingerprintQueryWorksAfterMetadataUpdate() throws Exception
|
||||
{
|
||||
// Index a new file with content
|
||||
FileModel file = new FileModel("Project_Contract.pdf", FileType.TEXT_PLAIN, "A content which is completely different from other indexed files.");
|
||||
FileModel file = new FileModel("Project_Contract.txt", FileType.TEXT_PLAIN, "A content which is completely different from other indexed files.");
|
||||
dataContent.usingUser(testUser).usingSite(testSite).usingResource(folder).createContent(file);
|
||||
|
||||
// make sure the content has been indexed (i.e. the ContentTracker fingerprint has been correctly computed
|
||||
|
||||
Reference in New Issue
Block a user