Changes from review

This commit is contained in:
unknown
2019-06-11 11:15:54 +01:00
parent 5223f639e6
commit 6246f295dc
2 changed files with 1 additions and 6 deletions
@@ -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