Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
This filter (links by day) didn't apply any visibility parameter. Fixes #1543
See #1307