PluralFormsTest::test_exceptions() – Ensures that an exception is thrown when an invalid plural form is encountered.
Test_WP_Community_Events::_http_request_bad_response_code() – Simulates an HTTP response with a non-200 response code.
Test_WP_Community_Events::_http_request_invalid_response() – Simulates an HTTP response with a body that does not have the required properties.
Test_WP_Community_Events::_http_request_valid_response_multiple_wordcamps() – Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it’s default position.
Test_WP_Community_Events::_http_request_valid_response_unpinned_wordcamp() – Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it’s default position.
Test_WP_Community_Events::_http_request_valid_response() – Simulates an HTTP response with valid location and event data.
Test_WP_Community_Events::data_get_unsafe_client_ip() – Provide test cases for `test_get_unsafe_client_ip()`.
Test_WP_Community_Events::test_get_cached_events_bad_response_code() – Test: The response body should not be cached if the response code is not 200.
Test_WP_Community_Events::test_get_cached_events_invalid_response() – Test: The response body should not be cached if it does not have the required properties.
Test_WP_Community_Events::test_get_cached_events_valid_response() – Test: get_cached_events() should return the same data as get_events(), including formatted time and date values for each event.
Test_WP_Community_Events::test_get_events_bad_response_code() – Test: get_events() should return an instance of WP_Error if the response code is not 200.
Test_WP_Community_Events::test_get_events_dont_pin_multiple_wordcamps() – Test: get_events() shouldn’t stick an extra WordCamp when there’s already one that naturally falls into the list.
Test_WP_Community_Events::test_get_events_invalid_response() – Test: get_events() should return an instance of WP_Error if the response body does not have the required properties.
Test_WP_Community_Events::test_get_events_pin_wordcamp() – Test: get_events() should return the events with the WordCamp pinned in the prepared list.
Test_WP_Community_Events::test_get_events_valid_response() – Test: With a valid response, get_events() should return an associated array containing a location array and an events array with individual events that have formatted time and date.
Test_WP_Community_Events::test_get_unsafe_client_ip() – Test that get_unsafe_client_ip() properly anonymizes all possible address formats
Tests_Admin_includesListTable::test_empty_trash_button_should_not_be_shown_if_there_are_no_comments() –