Fixed #19776 -- Test fails in stable/1.5.x branch

Was just a missing import