Make WordPress Core

Opened 2 years ago

Closed 22 months ago

#26116 closed enhancement (wontfix)

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

Reported by: 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 2 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
2 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
22 months ago

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

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

#3 @nacin
22 months ago

  • Owner nacin deleted

#4 @nacin
22 months ago

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