#59696 closed defect (bug) (fixed)
Fix duotone PHP Unit tests - Allow to run it individually
Reported by: | cbravobernal | Owned by: | SergeyBiryukov |
---|---|---|---|
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.
16 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
16 months ago
- Component changed from General to Build/Test Tools
- Milestone changed from Awaiting Review to 6.5
#3
@
16 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 56981:
@SergeyBiryukov commented on PR #5542:
16 months 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.php
I get the errorClass duotone could not be found in /var/www/tests/phpunit/tests/block-supports/duotone.php
It 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