Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26248 closed defect (bug) (fixed)

setting WP_TESTS_FORCE_KNOWN_BUGS to true shouldn't produce fatal errors

Reported by: wonderboymusic Owned by: wonderboymusic
Priority: normal Milestone: 3.8
Component: Unit Tests Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Sometimes it's fun to see how many unit tests would fail if there were no @ticket annotations. Problem: some tests try to use non-existent classes and functions, those tests should still be skipped.

Attachments (1)

26248.diff​ (4.3 KB ) - added by wonderboymusic 13 years ago.

Download all attachments as: .zip

Change History (2)

#1 @wonderboymusic
13 years ago

  • Owner set to wonderboymusic
  • Resolution → fixed
  • Status new → closed

In 26370:

When setting WP_TESTS_FORCE_KNOWN_BUGS to true, it is preferable that some forced tests are still skipped when they call classes or functions that do not exist, producing fatal errors.

Fixes #26248.

Note: See TracTickets for help on using tickets.