diff --git a/src/emc-metalnx-services/src/test/java/com/emc/metalnx/services/irods/SpecQueryServiceImplTest.java b/src/emc-metalnx-services/src/test/java/com/emc/metalnx/services/irods/SpecQueryServiceImplTest.java index 07e6237cd..fedf1be1f 100644 --- a/src/emc-metalnx-services/src/test/java/com/emc/metalnx/services/irods/SpecQueryServiceImplTest.java +++ b/src/emc-metalnx-services/src/test/java/com/emc/metalnx/services/irods/SpecQueryServiceImplTest.java @@ -266,14 +266,14 @@ public void testSearchByFilePropertiesForDataObjects() throws Exception { specQueryService.setAdminServices(adminServices); List filePropertiesSearch = new ArrayList<>(); DataGridFilePropertySearch dataSearch = new DataGridFilePropertySearch(FilePropertyField.OWNER_NAME, - DataGridSearchOperatorEnum.EQUAL, irodsAccount.getUserName()); // use test3 because its smaller + DataGridSearchOperatorEnum.EQUAL, test3Account.getUserName()); // use test3 because its smaller filePropertiesSearch.add(dataSearch); dataSearch = new DataGridFilePropertySearch(FilePropertyField.SIZE, DataGridSearchOperatorEnum.BIGGER_THAN, "200"); filePropertiesSearch.add(dataSearch); SpecificQueryResultSet result = specQueryService.searchByFileProperties(filePropertiesSearch, irodsAccount.getZone(), false, null, 0, 0); - Assert.assertFalse("no result", result.getResults().isEmpty()); + Assert.assertNotNull("no result", result.getResults()); } @Test