Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#60828 new enhancement

tests for wp_check_browser_version

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

Description


Change History (5)

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


3 years 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
3 years ago

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

#3 @desrosj
2 years ago

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

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

This ticket was mentioned in ​Slack in #core by joemcgill. ​View the logs.


20 months ago

#5 @desrosj
5 months ago

  • Focuses tests added

Adding the tests focus, which is used to indicate a ticket is solely focused on adding tests.

Note: See TracTickets for help on using tickets.