fixes #3823
Merge pull request #3824 from dotCMS/issue-3823-failing-unit-test-for-workflow

fixes #3823