Gary Pendergast
3ce2dd4131
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 .
Built from https://develop.svn.wordpress.org/trunk@38907
git-svn-id: http://core.svn.wordpress.org/trunk@38850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-25 10:25:53 +00:00
..
2016-10-25 01:40:31 +00:00
2016-10-24 19:15:29 +00:00
2016-10-24 04:45:31 +00:00
2016-10-25 01:40:31 +00:00
2016-10-05 03:24:37 +00:00
2016-10-21 18:28:32 +00:00
2016-08-26 16:49:45 +00:00
2016-10-19 04:47:30 +00:00
2016-10-24 04:45:31 +00:00
2016-08-23 23:18:29 +00:00
2016-08-31 04:55:54 +00:00
2016-10-19 18:15:31 +00:00
2016-10-21 17:01:32 +00:00
2016-10-25 00:45:29 +00:00
2016-08-31 16:31:29 +00:00
2016-09-30 21:42:28 +00:00
2016-08-31 16:31:29 +00:00
2016-10-05 03:24:37 +00:00
2016-08-23 23:33:28 +00:00
2016-09-08 07:06:30 +00:00
2016-09-06 09:06:31 +00:00
2016-08-31 15:22:31 +00:00
2016-08-23 14:33:30 +00:00
2016-10-21 02:54:34 +00:00
2016-08-26 19:09:27 +00:00
2016-10-25 06:31:31 +00:00
2016-10-25 06:31:31 +00:00
2016-10-25 06:31:31 +00:00
2016-08-31 16:31:29 +00:00
2016-10-19 18:15:31 +00:00
2016-08-31 16:31:29 +00:00
2016-10-18 20:05:31 +00:00
2016-08-26 18:06:39 +00:00
2016-10-25 01:40:31 +00:00
2016-08-26 09:53:28 +00:00
2016-08-26 09:58:28 +00:00
2016-08-25 18:18:39 +00:00
2016-08-25 18:18:39 +00:00
2016-09-08 04:17:30 +00:00
2016-10-05 03:51:28 +00:00
2016-08-22 21:28:27 +00:00
2016-08-20 23:36:28 +00:00
2016-08-31 05:49:37 +00:00
2016-08-26 18:11:39 +00:00
2016-10-10 06:38:31 +00:00
2016-10-21 02:54:34 +00:00
2016-09-14 21:58:29 +00:00
2016-08-26 19:09:27 +00:00
2016-10-20 18:42:29 +00:00
2016-10-07 19:44:28 +00:00
2016-10-10 06:38:31 +00:00
2016-08-25 17:44:31 +00:00
2016-08-25 18:18:39 +00:00
2016-08-25 18:18:39 +00:00
2016-10-21 02:54:34 +00:00
2016-09-20 17:22:29 +00:00
2016-10-10 06:38:31 +00:00
2016-10-07 17:12:29 +00:00
2016-10-21 02:54:34 +00:00
2016-08-26 19:09:27 +00:00
2016-08-25 17:37:30 +00:00
2016-08-25 17:37:30 +00:00
2016-10-20 09:13:29 +00:00
2016-08-25 17:44:31 +00:00
2016-10-10 06:38:31 +00:00
2016-10-10 06:38:31 +00:00
2016-08-22 21:51:28 +00:00
2016-10-19 04:47:30 +00:00
2016-09-28 19:28:30 +00:00
2016-08-26 18:06:39 +00:00
2016-10-20 18:59:29 +00:00
2016-10-21 06:00:31 +00:00
2016-08-26 09:22:30 +00:00
2016-10-10 06:38:31 +00:00
2016-10-20 09:13:29 +00:00
2016-10-20 02:55:32 +00:00
2016-10-21 17:01:32 +00:00
2016-08-26 09:49:28 +00:00
2016-10-24 04:45:31 +00:00
2016-10-23 00:00:34 +00:00
2016-10-24 13:13:58 +00:00
2016-10-18 20:05:31 +00:00
2016-09-04 04:09:28 +00:00
2016-10-25 04:47:29 +00:00
2016-10-19 04:47:30 +00:00
2016-10-13 22:25:31 +00:00
2016-10-03 07:04:29 +00:00
2016-10-21 17:01:32 +00:00
2016-10-25 03:15:30 +00:00
2016-08-31 15:22:31 +00:00
2016-10-19 03:06:28 +00:00
2016-10-01 06:28:30 +00:00
2016-10-19 04:47:30 +00:00
2016-10-19 04:47:30 +00:00
2016-10-25 05:05:33 +00:00
2016-09-27 20:05:28 +00:00
2016-10-25 05:49:29 +00:00
2016-10-25 05:55:30 +00:00
2016-08-31 16:31:29 +00:00
2016-10-24 00:32:32 +00:00
2016-10-21 17:01:32 +00:00
2016-10-20 02:55:32 +00:00
2016-08-31 16:31:29 +00:00
2016-09-12 01:50:30 +00:00
2016-10-16 01:10:31 +00:00
2016-10-21 06:00:31 +00:00
2016-08-31 06:21:41 +00:00
2016-10-20 02:55:32 +00:00
2016-08-29 12:25:29 +00:00
2016-10-24 04:45:31 +00:00
2016-10-23 18:16:42 +00:00
2016-10-23 14:25:31 +00:00
2016-10-20 02:55:32 +00:00
2016-10-07 21:03:31 +00:00
2016-10-14 14:20:29 +00:00
2016-10-19 18:15:31 +00:00
2016-08-31 16:31:29 +00:00
2016-10-25 06:02:35 +00:00
2016-08-31 15:22:31 +00:00
2016-10-25 10:25:53 +00:00
2016-09-08 23:49:30 +00:00
2016-08-31 16:31:29 +00:00