Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#35024 closed task (blessed) (fixed)

More tests for roles and capabilities

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

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
11 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
11 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
11 years ago

  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.