Problem/Motivation
The test provider BlockContentAccessHandlerTest::providerTestAccess
return too early on the second foreach, which prevent the provider to return a complete array of potential coverage for ['update', 'delete']
operations.
This prevents the complete coverage of delete
operation by returning on the first loop of the array ['update', 'delete']
.
Proposed resolution
Fix the test by returning at the end of the provider.
This will pass the coverage of this class from 16 to 24 tests.
Completed tasks
- Write a patch.
Remaining tasks
- Review and commit.
User interface changes
None.
API changes
None.