Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#26116 closed enhancement (wontfix)

Unit Tests: Add assertNotWPError() to complement assertWPError()

Reported by: georgestephanis's profile georgestephanis Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Unit Tests Keywords:
Focuses: Cc:


It's an easy fix, and makes it simpler to let tests make sure something has succeeded and isn't an error, as opposed to testing when hoping for an error.

Attachments (1)

assertNotWPError.diff (593 bytes) - added by georgestephanis 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
11 years ago

  • Component changed from General to Unit Tests
  • Type changed from defect (bug) to enhancement

Per IRC discussion, assertWPError() should be removed instead.

#2 @nacin
10 years ago

  • Owner set to nacin
  • Status changed from new to assigned

Others are probably using assertWPError(), so let's just close this.

#3 @nacin
10 years ago

  • Owner nacin deleted

#4 @nacin
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.