[wp-trac] [WordPress Trac] #38457: PHPUnit suite in trunk does not pass currently: 3 tests with extra sizes="100vw" in output
WordPress Trac
noreply at wordpress.org
Tue Oct 25 10:25:00 UTC 2016
#38457: PHPUnit suite in trunk does not pass currently: 3 tests with extra
sizes="100vw" in output
-------------------------------------+---------------------
Reporter: ottok | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38907"]:
{{{
#!CommitTicketReference repository="" revision="38907"
Tests: Use a minimal theme for tests.
This functionality was originally added in [38858], using `symlink()` to
put a link to the theme in WordPress' `themes` directory. Unfortunately,
not all installs have write access to the `themes` directory, causing unit
tests to fail.
The new method is to add the test theme directory to
`$wp_theme_directories`, and fix the handful of tests that don't expect
`$wp_theme_directories` to have multiple entries.
The test install/bootstrap routines now also check that `WP_DEFAULT_THEME`
is defined, in case the tests are being run on a system that hasn't
upgraded its' `wp-tests-config.php`.
See #31550.
Fixes #38457.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38457#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list