Search-1346: Removed folder that wasn't used

This commit is contained in:
Meenal Bhave
2019-01-11 17:06:39 +00:00
parent 68f51416f4
commit 19e91ee3c0
@@ -64,12 +64,11 @@ public class FacetFieldsSearchTest extends AbstractSearchTest
// Create another user who would not have access to the Private Site created by userModel
userWithNoAccess = dataUser.createRandomTestUser("UserSearch2");
userCanAccessTextFile = dataUser.createRandomTestUser("UserSearch3");
testFolder = dataContent.usingSite(testSite).usingUser(userModel).createFolder();
// Create a folder and a file as test User
FolderModel folder = new FolderModel(fname);
dataContent.usingUser(userModel).usingSite(testSite).createFolder(folder);
// Create a folder and a file as test User
testFolder = new FolderModel(fname);
dataContent.usingUser(userModel).usingSite(testSite).createFolder(testFolder);
textFile = new FileModel(fname + "-1.txt", fname, fname, FileType.TEXT_PLAIN, fname + " file for search ");
dataContent.usingUser(userModel).usingSite(testSite).createContent(textFile);