Opened 3 years ago
Last modified 18 months ago
#60306 new task (blessed)
PHPunit test for wp_enqueue_emoji_styles
| Reported by: | pbearne | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Emoji | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | tests |
Description
Change History (4)
This ticket was mentioned in PR #5912 on WordPress/wordpress-develop by @pbearne.
3 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
2 years ago
- Keywords needs-patch added; has-patch has-unit-tests removed
- Type defect (bug) → task (blessed)
Note that there is no patch here just yet. The wrong PR was linked to the ticket.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.