Opened 6 years ago
Closed 6 years ago
#46593 closed defect (bug) (fixed)
Fatal error when running unit tests without the build directory
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
If you create a new checkout and attempt to run PHPUnit without running grunt build
first, you'll get a fatal error:
Fatal error: require_once(): Failed opening required 'build//wp-includes/class-phpmailer.php' in tests/phpunit/includes/mock-mailer.php on line 2
There should be a proper error message with a recommendation to run grunt build
.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 45020: