Opened 3 years ago
Last modified 20 months ago
#60301 new enhancement
PHPunit test for print_emoji_detection_script
| Reported by: | pbearne | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | tests |
Description
Change History (5)
This ticket was mentioned in PR #5910 on WordPress/wordpress-develop by @pbearne.
3 years ago
#1
- Keywords has-patch has-unit-tests added
This ticket was mentioned in PR #5912 on WordPress/wordpress-develop by @pbearne.
3 years 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:
3 years 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.