Make WordPress Core

Opened 14 months ago

Last modified 5 weeks ago

#60306 new task (blessed)

PHPunit test for wp_enqueue_emoji_styles

Reported by: pbearne's profile pbearne Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Emoji Keywords: has-patch has-unit-tests
Focuses: tests Cc:

Description


Change History (4)

This ticket was mentioned in PR #5912 on WordPress/wordpress-develop by @pbearne.


14 months ago
#1

  • Keywords has-patch has-unit-tests added

A new unit test file is created to ensure that the print_emoji_detection_script function works correctly. The tests check whether the final output contains the expected string and ensure no output when printing the emoji detection script again.

#2 @swissspidy
13 months ago

  • Keywords needs-patch added; has-patch has-unit-tests removed
  • Type changed from defect (bug) to task (blessed)

Note that there is no patch here just yet. The wrong PR was linked to the ticket.

#3 @pbearne
13 months ago

  • Keywords has-patch has-unit-tests added; needs-patch removed

I messed that up a bit.

updated pull request to have a test

#4 @desrosj
5 weeks ago

  • Component changed from Build/Test Tools to Emoji
  • Focuses tests added
Note: See TracTickets for help on using tickets.