Fix the test so deprecations are not triggered

Closes #3557507

Merge request reports

Loading