#32394 closed enhancement (fixed)
Tests_User_Capabilities should test all capabilities for each role
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Role/Capability | Version: | |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Note that all existing capabilities should be tested for all roles, with
assertTrue()andassertFalse()used accordingly.