Fix autotest by partially reverting 298a8e32

Autotests tend to fail when you comment out the function being tested.
2 jobs for master in 6 minutes and 42 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #109311

00:03:55

passed linux kf5-qt5 qt5.15 #109310

00:02:46

16.0%