Make WordPress Core

Opened 10 months ago

Last modified 3 months ago

#60828 new enhancement

tests for wp_check_browser_version

Reported by: pbearne's profile pbearne Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-unit-tests
Focuses: Cc:

Description


Change History (3)

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


10 months 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
10 months ago

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

#3 @desrosj
3 months ago

  • Component changed from Build/Test Tools to General
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

Since this is about adding tests and not a general build or test tooling change, I'm reassigning it to the relevant component.

Note: See TracTickets for help on using tickets.