Fix failure

This change fixes a test that was incorrectly refactored in the last
group of changes.

[#59911894]
Merge 59911894-test-improvements to master

[Completes #59911894]