Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
irods-contrib#46 fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Nov 8, 2017
1 parent 0049734 commit 65fd7aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,14 @@ public void testSearchByFilePropertiesForDataObjects() throws Exception {
specQueryService.setAdminServices(adminServices);
List<DataGridFilePropertySearch> 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
Expand Down

0 comments on commit 65fd7aa

Please sign in to comment.