#60757 closed defect (bug) (fixed)
Interactivity API: Fix invalid test @covers annotations
Reported by: | jonsurrell | Owned by: | jonsurrell |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
If the Interactivity API tests are run with coverage, they produce warnings about invalid @covers annotations, for example:
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html ./artifacts/coverage/ --group interactivity-api --stop-on-warning
prints:
1) Tests_WP_Interactivity_API_WP_Bind::test_wp_bind_sets_attribute
"@covers ::process_directives" is invalid
Change History (6)
This ticket was mentioned in PR #6258 on WordPress/wordpress-develop by @jonsurrell.
6 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
6 months ago
- Keywords needs-patch added; has-patch has-unit-tests removed
- Milestone changed from Awaiting Review to 6.6
@jonsurrell commented on PR #6258:
6 months ago
#3
👋 @c4rl0sbr4v0 @DAreRodz for review
6 months ago
#6
Committed in https://core.trac.wordpress.org/changeset/57836.
Note: See
TracTickets for help on using
tickets.
Fix invalid test @covers annotations
Trac ticket: https://core.trac.wordpress.org/ticket/60757