[wp-trac] [WordPress Trac] #49663: Fix PHPUnit bootstrap to install from the same directory where the tests will be run
WordPress Trac
noreply at wordpress.org
Wed Mar 18 02:22:49 UTC 2020
#49663: Fix PHPUnit bootstrap to install from the same directory where the tests
will be run
------------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version: 5.1
Severity: normal | Keywords:
Focuses: |
------------------------------+--------------------
After #44492 and #45863 when running `npm run test` or the equivalent
`grunt build` followed by `phpunit`, WP is build to `/build` but
`/tests/phpunit/includes/install.php` runs in `/src`.
This triggers missing files errors if WordPress hasn't been built to
`/src` before.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49663>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list