Opened 12 months ago
Last modified 3 months ago
#60301 new enhancement
PHPunit test for print_emoji_detection_script
Reported by: | pbearne | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (4)
This ticket was mentioned in PR #5910 on WordPress/wordpress-develop by @pbearne.
12 months ago
#1
- Keywords has-patch has-unit-tests added
This ticket was mentioned in PR #5912 on WordPress/wordpress-develop by @pbearne.
11 months ago
#2
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.
@swissspidy commented on PR #5910:
11 months ago
#3
@pbearne this is just the same test as https://github.com/WordPress/wordpress-develop/pull/5912 🤔
Note: See
TracTickets for help on using
tickets.
A new unit test for the wp_staticize_emoji_for_email function has been added. This test provides verification for a variety of scenarios; from simple messages, messages with emojis, and adjustments based on the email's content type.