#59696 closed defect (bug) (fixed)
Fix duotone PHP Unit tests - Allow to run it individually
| Reported by: | cbravobernal | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.5 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Change History (4)
This ticket was mentioned in PR #5542 on WordPress/wordpress-develop by @cbravobernal.
3 years ago
#1
- Keywords has-patch has-unit-tests added
@SergeyBiryukov commented on PR #5542:
3 years ago
#4
Thanks for the PR! Merged in r56981.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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