Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5201 closed defect (bug) (fixed)

Add @expectedDeprecated annotations to failing unit tests

Reported by: ericlewis's profile ericlewis Owned by: boonebgorges's profile boonebgorges
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.8
Component: Build/Test Tools Keywords: has-patch
Cc:

Description

WordPress' current unit test framework fails unit tests if deprecated function calls are not caught. Let's add the annotations to these testing functions to catch these.

Attachments (1)

5201.diff (1.8 KB) - added by ericlewis 12 years ago.

Download all attachments as: .zip

Change History (3)

@ericlewis
12 years ago

#1 @boonebgorges
12 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 7425:

Add @expectedDeprecated comments to specific tests

The develop.svn.wordpress.org setup requires these flags in order to prevent
tests from failing when calling a deprecated function.

Fixes #5201

Props ericlewis

#2 @r-a-y
12 years ago

  • Milestone changed from Awaiting Review to 1.9
  • Version set to 1.8
Note: See TracTickets for help on using tickets.