#59696 closed defect (bug) (fixed)
Fix duotone PHP Unit tests - Allow to run it individually
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
| Focuses: | Cc: |
Description
Change History (4)
This ticket was mentioned in PR #5542 on WordPress/wordpress-develop by @cbravobernal.
2 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
2 years ago
- Component changed from General to Build/Test Tools
- Milestone changed from Awaiting Review to 6.5
#3
@
2 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 56981:
@SergeyBiryukov commented on PR #5542:
2 years ago
#4
Thanks for the PR! Merged in r56981.
Note: See
TracTickets for help on using
tickets.
Right now, if I try to run
docker-compose run php ./vendor/bin/phpunit tests/phpunit/tests/block-supports/duotone.phpI get the errorClass duotone could not be found in /var/www/tests/phpunit/tests/block-supports/duotone.phpIt seems that tests are not running individually, as it doesn't match with its real Class called WP_Duotone, not WP_Duotones.
Attached screenshots:
Before:


After:
Trac ticket: https://core.trac.wordpress.org/ticket/59696