mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-4966 Explicit test result logging
This commit is contained in:
@@ -131,9 +131,9 @@ public class CategoriesPathTests extends CategoriesRestTest
|
||||
.getCategoryChildren();
|
||||
|
||||
restClient.assertStatusCodeIs(OK);
|
||||
assertTrue(actualCategories.getEntries().stream()
|
||||
actualCategories.getEntries().stream()
|
||||
.map(RestCategoryModel::onModel)
|
||||
.allMatch(cat -> cat.getPath().equals("/categories/General/" + parentCategory.getName())));
|
||||
.forEach(cat -> assertTrue(cat.getPath().equals("/categories/General/" + parentCategory.getName())));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -836,6 +836,7 @@ public class CategoriesImplTest
|
||||
{
|
||||
final String categoryNewName = "categoryNewName";
|
||||
final Category fixedCategory = createCategoryOnlyWithName(categoryNewName);
|
||||
// simulate path provided by client to check if it will be ignored
|
||||
fixedCategory.setPath("/test/TestCat");
|
||||
final QName categoryQName = createCmQNameOf(CATEGORY_NAME);
|
||||
final NodeRef parentCategoryNodeRef = createNodeRefWithId(PARENT_ID);
|
||||
|
Reference in New Issue
Block a user