Opened 7 years ago
Closed 7 years ago
#43982 closed enhancement (fixed)
The test suite shouldn't assume that the data directory exists
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9.7 | Priority: | low |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
It's possible to bundle the WordPress unit test framework inside a project by including the contents of the tests/phpunit/includes
directory.
However the test framework makes an assumption that the tests/phpunit/data/themedir1
directory exists and causes a PHP notice to be triggered:
Notice: tests/phpunit/wordpress-tests-lib/includes/../data/themedir1 is not readable in wp-includes/theme.php on line 471
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Moving all tickets in 4.9.7 to 4.9.8.