Skip to content
Snippets Groups Projects
Commit d83e8546 authored by felmer's avatar felmer
Browse files

SSDM-10191: another try to make test testSearchForMaterialsByModificationDate more robust

parent 1b545fc7
No related branches found
No related tags found
No related merge requests found
......@@ -2807,9 +2807,9 @@ public class GeneralInformationServiceTest extends SystemTestCase
List<Material> materials =
generalInformationService.searchForMaterials(sessionToken, searchCriteria)
.stream().filter(m -> m.getMaterialTypeIdentifier().getMaterialTypeCode().equals("BACTERIUM") == false)
.stream().filter(m -> m.getMaterialTypeIdentifier().getMaterialTypeCode().equals("SIRNA"))
.collect(Collectors.toList());
assertEquals(3728, materials.size());
assertEquals(2774, materials.size());
searchCriteria = new SearchCriteria();
searchCriteria.addMatchClause(MatchClause.createTimeAttributeMatch(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment