WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#42311 closed defect (bug) (fixed)

Test not actually testing what it says it is

Reported by: withinboredom Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Plugins Keywords:
Focuses: Cc:

Description

Fix a small typo to actually tests actions in different priorities.

Attachments (1)

tests.diff (639 bytes) - added by withinboredom 2 years ago.
Patch to fix test

Download all attachments as: .zip

Change History (3)

@withinboredom
2 years ago

Patch to fix test

#1 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 4.9

Confirmed, the current test is just a copy/paste of test_do_action_with_multiple_callbacks_on_same_priority().

#2 @SergeyBiryukov
2 years ago

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

In 41971:

Tests: Fix typo in test_do_action_with_multiple_callbacks_on_different_priorities().

Props withinboredom.
Fixes #42311.

Note: See TracTickets for help on using tickets.