Tests_Meta_Slashes::test_update_post_meta() – Tests the legacy model function that expects slashed data
Tests_Multisite_Get_Space_Used::test_get_space_used_main_site() – Directories of sub sites on a network should not count against the same spaced used total for the main site.
Tests_Multisite_Is_Upload_Space_Available::test_is_upload_space_available_default() – A default of 100MB is used when no `blog_upload_space` option exists at the site or network level.
Tests_Multisite_Is_Upload_Space_Available::test_is_upload_space_available_space_used_is_less_then_allowed() –
Tests_Multisite_Is_Upload_Space_Available::test_is_upload_space_available_space_used_is_more_than_allowed() –
Tests_Multisite_Is_Upload_Space_Available::test_is_upload_space_available_upload_space_0_defaults_to_100() – More comprehensive testing a 0 condition is handled in the tests for `get_space_allowed()`. We cover one scenario here.
Tests_Multisite_Site::test_update_blog_status_invalid_status() – Updating an invalid field returns the same value that was passed.
Tests_Multisite_Site::test_update_blog_status() – Updating a field returns the sme value that was passed.
Tests_Multisite_Site::test_upload_directories_after_multiple_wpmu_delete_blog() – When a site is deleted with wpmu_delete_blog(), only the files associated with that site should be removed. When wpmu_delete_blog() is run a second time, nothing should change with upload directories.
Tests_Multisite_Update_Blog_Details::_action_counter_cb() – Provide a counter to determine that hooks are firing when intended.
Tests_Multisite_Update_Blog_Details::test_update_blog_details_flag_action() – Test each of the actions that should fire in update_blog_details() depending on the flag and flag value being set. Each action should fire once and should not fire if a flag is already set for the given flag value.
Tests_Multisite_Update_Blog_Details::test_update_blog_details_invalid_blog_id() – If the ID passed is not that of a current site, we should expect false.
Tests_Multisite_Update_Blog_Details::test_update_blog_details_single_directory_path() – When the path for a site is updated with update_blog_details(), the final path should have a leading and trailing slash.
Tests_Multisite_Update_Blog_Details::test_update_blog_details_with_empty_args() – If `update_blog_details()` is called with any kind of empty arguments, it should return false.
Tests_Multisite_Upload_Is_User_Over_Quota::test_upload_is_user_over_check_disabled() – When the upload space check is disabled, using more than the available quota is allowed.
Tests_Multisite_Upload_Is_User_Over_Quota::test_upload_is_user_over_quota_allowed_negative_used_100() –
Tests_Option_NetworkOption::test_update_network_option_array_with_object() – Ensure updating network options containing an object do not result in unneeded database calls.