#32394 closed enhancement (fixed)
Tests_User_Capabilities should test all capabilities for each role
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Role/Capability | Keywords: | good-first-bug has-patch |
| Focuses: | Cc: |
Description
The Tests_User_Capabilities unit test class only tests a sampling of capabilities for each role in the test_user_{role}() methods.
These methods should have complete coverage of all capabilities for each role.
Attachments (1)
Change History (17)
#2
@
11 years ago
- Keywords has-patch added
Patch added. Adds capabilities listed in the codex page. Tests for both true and false where applicable.
Note: See
TracTickets for help on using
tickets.
Note that all existing capabilities should be tested for all roles, with
assertTrue()andassertFalse()used accordingly.