Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#35024 closed task (blessed) (fixed)

More tests for roles and capabilities

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: Cc:

Description

In #32394, tests were introduced for all user roles and capabilities. Two things were missed:

  1. Tests for the unfiltered_upload capability.
  2. Tests to ensure all available user capabilities are tested.

Change History (3)

#1 @johnbillion
9 years ago

In 35871:

Introduce tests for the unfiltered_upload capability, which no user should have (unless the ALLOW_UNFILTERED_UPLOADS constant is defined).

See #35024

#2 @johnbillion
9 years ago

In 35872:

Ensure that all the capabilities that any users have are being tested. This ensures that if new capabilities are introduced in the future, tests will be required for them.

See #35024

#3 @johnbillion
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.