Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyDOTCMS committed Jun 26, 2024
1 parent 1889436 commit ecd3c87
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ public void getAllCategoriesFiltered() throws DotDataException {
.parent(childCategory_6)
.nextPersisted();

List<String> categoriesExpected = list(topLevelCategory_1, childCategory_1, childCategory_2, childCategory_3,
topLevelCategory_3, grandchildCategory_1).stream().map(Category::getInode).collect(Collectors.toList());
List<String> categoriesExpected = list(topLevelCategory_1, topLevelCategory_2, childCategory_1, childCategory_2,
childCategory_3, topLevelCategory_3, grandchildCategory_1).stream()
.map(Category::getInode).collect(Collectors.toList());

final List<String> categories_1 = FactoryLocator.getCategoryFactory().findAll(stringToFilterBy.toUpperCase())
.stream().map(Category::getInode).collect(Collectors.toList());
Expand Down

0 comments on commit ecd3c87

Please sign in to comment.