taskCandidateOrAssigned doesn't work with custom GroupEntityManager and UserEntityManager

Description

I have see there's a post in the forum that I am interested in a response but I don't see any JIRA issue.

I have created a custom fake GroupEntityManager and UserEntityManager that return 2 groups for a specific user.

When I launch this unit test, I get the tasks where the user and his groups are candidates:

Unit Test Candidate User

But, if I launch this other test, the code of my custom files is never launched:

Unit Test Candidate Or Assigned

I have overrided the method List<Group> findGroupsByUser(String userId) in my custom files. I think this method is the only I need to override for these tests:

CustomUserEntityManager or CustomGroupEntityManager

Environment

None

Assignee

Joram Barrez

Reporter

Eduardo Alfaro

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure