fixes #3825
Merge pull request #3826 from dotCMS/issue-3825-workflow-unit-test-failing

fixes #3825