fix for error in ContentletAPITest #3501
Merge pull request #3542 from dotCMS/fix-for-issue-3501

fix for error in ContentletAPITest #3501