#60757 closed defect (bug) (fixed)
Interactivity API: Fix invalid test @covers annotations
| Reported by: | jonsurrell | Owned by: | jonsurrell |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | Build/Test Tools | Version: | 6.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
3 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
3 years ago
- Keywords needs-patch added; has-patch has-unit-tests removed
- Milestone Awaiting Review → 6.6
@jonsurrell commented on PR #6258:
3 years ago
#3
👋 @c4rl0sbr4v0 @DAreRodz for review
3 years ago
#6
Committed in https://core.trac.wordpress.org/changeset/57836.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fix invalid test @covers annotations
Trac ticket: https://core.trac.wordpress.org/ticket/60757