Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#60828 new defect (bug)

tests for wp_check_browser_version

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

Description


Change History (2)

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


5 weeks ago
#1

  • Keywords has-patch has-unit-tests added

New unit tests have been implemented for the 'wp_check_browser_version' function in WordPress. This is done to verify the correctness of its output across different user agent strings, including when there's no agent and cases for Chrome on Windows and Android.

Trac ticket: 60828

#2 @pbearne
5 weeks ago

I could not get the call to time to check the error path

Note: See TracTickets for help on using tickets.