GRAILS-11607 fix test after merging PR #528
merge commit: https://github.com/grails/grails-core/commit/2b3651e1