Discovered as part of #2068471: Normalize Controller/View-listener behavior with a Page object, it looks like none of the pages under admin/reports* is currently tested at all (?!).
We need some tests like:
- Status report shows OK, warning, error messages correctly (create a test module that implements hook_requirements())
- Error report shows notice, warning, etc. errors properly
- 403, 404, etc. reports are showing those errors when they are triggered
- Maybe some other things
Comments
Comment #1
cilefen CreditAttribution: cilefen commentedThere are 25 tests that load paths in admin/reports from this rough search:
I looked into some of these:
So things may have changed since this issue was opened. I am sure we could target some specifics but maybe we need a new title.
Comment #3
dagmarAs part of #2015149: Replace dblog recent log entries with a view it seems there are already a lot of tests in
core/modules/dblog/src/Tests/DbLogTest.php
.I agree with @cilefen. I'm closing this issue as Fixed. If there is another test to write, please create a new issue.