The report page "Managed not used" (/admin/reports/auditfiles/managednotused) currently has no test coverage. We need to implement Functional tests that do the following:

(1) Test permission to access report page -- allow and deny
(2) Test that page renders properly
(3) Test that test files entries into files_managed table that has no entry in the file_usage are displayed properly and categorized properly, based on the general configuration of the module.
(4) Test that records displayed can be deleted

CommentFileSizeAuthor
#4 3154451-4.patch3.87 KBlisa.rae

Comments

lhridley created an issue. See original summary.

lisa.rae’s picture

Component: Not in database report » Managed not used report
lisa.rae’s picture

StatusFileSize
new3.87 KB
lisa.rae’s picture

Status: Active » Needs review

  • lhridley committed af0d187 on 8.x-2.x
    Issue #3154451 by lhridley: Automated test:  AuditFilesManagedNotUsed...
lisa.rae’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.