#60389 closed defect (bug) (fixed)
PHP unit test for links_add_base_url
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests commit |
Focuses: | Cc: |
Description
Change History (9)
This ticket was mentioned in PR #5980 on WordPress/wordpress-develop by @pbearne.
15 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
13 months ago
- Keywords changes-requested added
- Milestone changed from Awaiting Review to 6.6
Left a suggestion for additional test cases. PHPCS also needs a bit of attention.
#3
@
12 months ago
Added some PHPCS changes, and also added a couple of more cases for sftp, and mailto.
#4
@
10 months ago
- Milestone changed from 6.6 to 6.7
I'm going to punt this to 6.7. If a committer has time to review and commit this before 6.6 then feel free, but backporting is unlikely at this point anyway.
This ticket was mentioned in Slack in #core by chaion07. View the logs.
7 months ago
#7
@
7 months ago
- Keywords commit added; changes-requested removed
As the requested changes have been addressed and PR approved, I'm updating for commit
consideration.
Note: See
TracTickets for help on using
tickets.
A new PHPUnit test class, Tests_formatting_linksAddBaseUrl, has been introduced to increase the test coverage for the links_add_base_url function. The class includes multiple test scenarios, examining different combinations of attributes to verify the correct functioning of the function.