mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Changes from review
This commit is contained in:
+1
-2
@@ -17,7 +17,6 @@ public class SolrSearchByPropertyTests extends AbstractCmisE2ETest
|
||||
private FileModel guestc, restc, tesc, testtttc, testc, testc1, testc2, testc3;
|
||||
|
||||
@BeforeClass(alwaysRun = true)
|
||||
@Override
|
||||
public void searchServicesDataPreparation() throws Exception
|
||||
{
|
||||
dataContent.usingAdmin().deployContentModel("model/tas-model.xml");
|
||||
@@ -108,7 +107,7 @@ public class SolrSearchByPropertyTests extends AbstractCmisE2ETest
|
||||
|
||||
@Test(groups = { TestGroup.CMIS }, dataProviderClass = XMLTestDataProvider.class, dataProvider = "getQueriesData")
|
||||
@XMLDataConfig(file = "src/test/resources/testdata/search-by-property.xml")
|
||||
public void executeSearchByID(QueryModel query) throws Exception
|
||||
public void executeSearchByProperty(QueryModel query) throws Exception
|
||||
{
|
||||
cmisApi.authenticateUser(testUser).withQuery(query.getValue()).assertResultsCount().equals(query.getResults());
|
||||
}
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
<testData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xsi:noNamespaceSchemaLocation="https://gitlab.alfresco.com/tas/tas-namespaces/raw/master/input-test-data.xsd">
|
||||
<users>
|
||||
<user id="userSearchProperties" name="userSearchProperties"
|
||||
password="password" />
|
||||
</users>
|
||||
|
||||
<queries>
|
||||
<query
|
||||
|
||||
Reference in New Issue
Block a user