Commit Graph

5 Commits

Author SHA1 Message Date
Gary Pendergast 9d7e8fec8c Tests: Use a minimal theme for tests.
New default themes require workarounds being added to several unit tests, as they often alter default WordPress behaviour. To avoid ongoing maintenance issues, this change switches to a minimal theme when running tests.

This change also removes the old workarounds for default themes.

Fixes #31550.



git-svn-id: https://develop.svn.wordpress.org/trunk@38858 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-21 11:02:37 +00:00
Sergey Biryukov 497b64a300 Unit Tests: Correct comment in `wp-tests-config-sample.php`.
Props tahteche.
Fixes #35563.

git-svn-id: https://develop.svn.wordpress.org/trunk@36372 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-21 20:24:12 +00:00
Andrew Nacin df9b9dbbed Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282.
git-svn-id: https://develop.svn.wordpress.org/trunk@25571 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 16:17:59 +00:00
Andrew Nacin d8e8eada52 Change DB_NAME in wp-tests-config-sample.php to be something other than the placeholder in wp-config-sample.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@25223 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-03 23:59:26 +00:00
Andrew Nacin 8045afd81b Move PHPUnit tests into a tests/phpunit directory.
wp-tests-config.php can/should reside in the root of a develop checkout. `phpunit` should be run from the root.

see #25088.


git-svn-id: https://develop.svn.wordpress.org/trunk@25165 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-29 18:39:34 +00:00