Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
Description
Steps to reproduce
- Run `mvn clean verify` (Reproduced always on Jenkins with, never locally)
Expected results
All tests pass
Actual results
RepositoryBackedSecurityManagerTest#findPrincipalNodeByTraversalWithMultipleMatches and RepositoryBackedSecurityManagerTest#findPrincipalNodeByQueryWithMultipleMatches fail.
Development notes
The failing tests expect a message being logged, which is missing.
The root cause is the logging system being shut down when running MagnoliaServletContextListenerTest by the call to init.MagnoliaServletContextListener#contextDestroyed.
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
BUILD-928 Upgrade to Mockito 4
-
- Closed
-
-
MAGNOLIA-8527 Upgrade to Mockito 4 and replace powermock
-
- Closed
-