Fix tests that fail on PHP 8.1 MySQL 5.7 on 10.6.x

Closes #3571492

Merge request reports

Loading