Wordpress/tests/phpunit/tests/multisite
Jeremy Felt 363533d9b3 Multisite: Use to_array() method on WP_Site objects in wp_get_sites()
When an object with private properties is cast directly to an array, those properties are no longer available with their original keys.

Props @flixos90.
See #36717.


git-svn-id: https://develop.svn.wordpress.org/trunk@37667 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-09 18:09:25 +00:00
..
bootstrap.php Multisite: Wrap the main bootstrap process in a function 2016-05-20 20:56:54 +00:00
getBlogDetails.php Tests: Split get_blog_details() test into individual tests 2016-06-09 15:57:37 +00:00
getSpaceAllowed.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
getSpaceUsed.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
isEmailAddressUnsafe.php is_email_address_unsafe() tests should only be run on multisite. 2015-05-29 12:37:51 +00:00
isUploadSpaceAvailable.php MS: Allow for a blog_upload_space setting of 0 to restrict uploads. 2015-10-10 23:14:11 +00:00
ms-files-rewriting.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
network.php Tests: Account for flexible IDs in main network deletion test 2016-04-22 15:21:14 +00:00
site.php Tests: Move get_blog_details() tests to their own file 2016-06-09 05:40:45 +00:00
siteQuery.php Multisite: Introduce WP_Site_Query 2016-05-20 22:03:52 +00:00
updateBlogDetails.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
uploadIsUserOverQuota.php MS: Handle the possibility of 0 when checking a user's upload quota. 2015-10-10 23:17:01 +00:00
wpGetSites.php Multisite: Use to_array() method on WP_Site objects in wp_get_sites() 2016-06-09 18:09:25 +00:00
wpMSSitesListTable.php Multisite: Add initial tests for WP_MS_Sites_List_Table 2016-06-03 14:38:01 +00:00
wpmuValidateUserSignup.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00