Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26116 closed enhancement (wontfix)

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

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

Description

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 13 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
13 years ago

  • Component General → Unit Tests
  • Type defect (bug) → enhancement

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

#2 @nacin
13 years ago

  • Owner set to nacin
  • Status new → assigned

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

#3 @nacin
13 years ago

  • Owner nacin removed

#4 @nacin
13 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status assigned → closed
Note: See TracTickets for help on using tickets.