Wordpress/tests/phpunit/includes
Jeremy Felt 4429638da6 Tests: Set `public` to `1` in the default blog factory
When no `$meta` arguments are passed to `wpmu_create_blog()`, `public` is set to `0` in the database for new sites. This is fine, but also does not match the default implied when most sites are created via `site-new.php`.

The only current use of the `$meta` argument in the tests is to (re)mark `public` as `0`. All existing tests pass with this change. Tests for `WP_Site_Query` can now rely on better default expectations.

See #36566.


git-svn-id: https://develop.svn.wordpress.org/trunk@37418 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-11 19:21:22 +00:00
..
factory Tests: Set `public` to `1` in the default blog factory 2016-05-11 19:21:22 +00:00
bootstrap.php Tests: Allow override of `MULTISITE` and `SUBDOMAIN_INSTALL` constants 2016-04-20 16:51:58 +00:00
exceptions.php
factory.php
functions.php Remove (or at least reduce) the need to reset common `$_SERVER` variables before assertions or between tests, by introducing a method which automatically resets them during test setup. 2016-02-26 02:08:47 +00:00
install.php Remove (or at least reduce) the need to reset common `$_SERVER` variables before assertions or between tests, by introducing a method which automatically resets them during test setup. 2016-02-26 02:08:47 +00:00
mock-fs.php
mock-image-editor.php
mock-mailer.php Tests: Introduce `reset_phpmailer_instance()` function. 2016-05-04 03:48:46 +00:00
speed-trap-listener.php
spy-rest-server.php REST API: Deliver parameters unadulterated instead of slashed. 2016-04-06 21:01:11 +00:00
testcase-ajax.php Media: Remove an extra quote when sending a link of a media file to the editor. 2016-04-21 21:20:26 +00:00
testcase-canonical.php
testcase-rest-api.php
testcase-xmlrpc.php
testcase.php Build/Test Tools: Document `WP_UnitTestCase->go_to()` 2016-04-27 18:24:34 +00:00
trac.php
utils.php
wp-profiler.php