Wordpress/tests/phpunit/tests
Scott Taylor e878e8156b Media: fix unit test after [38296].
https://en.wikipedia.org/wiki/Coupling_(computer_programming)#Disadvantages

Fixes #36246.


git-svn-id: https://develop.svn.wordpress.org/trunk@38302 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-22 04:16:29 +00:00
..
actions
admin Text Changes: Unify permission error messages. 2016-06-29 15:15:40 +00:00
ajax Plugins: Move capability checks further up in `wp_ajax_update_plugin()` and `wp_ajax_delete_plugin()`. 2016-07-27 17:42:01 +00:00
attachment
bookmark
canonical Improve category check in `redirect_canonical()` when permastruct contains category slug. 2016-08-08 18:48:53 +00:00
category
comment Tests: Include the `check_comment` function tests in the comment group. 2016-07-20 14:06:44 +00:00
customize Customize: Ensure that `WP_Customize_Setting::value()` can return a previewed value for aggregated multidimensionals. 2016-07-06 05:58:28 +00:00
date
db
dependencies External Libraries: Update Backbone to version 1.3.3. 2016-06-16 09:26:06 +00:00
external-http
feed
filesystem
formatting Formatting: In `remove_accents()`, correct replacements for: 2016-08-04 13:55:30 +00:00
functions Plugins: In `plugin_basename()` sort plugin paths before resolving symlinks. 2016-07-06 09:44:58 +00:00
general Script Loader: Fix protocol-relative URLs for the `preconnect` relation type. 2016-08-13 18:34:12 +00:00
http HTTP API: Normalize cookies before passing them to Requests. 2016-07-27 15:31:48 +00:00
image Media: Prevent `image_get_intermediate_size()` from returning cropped images. 2016-07-18 02:13:45 +00:00
import Add wordpress-importer tests demonstrating slashed data behavior. 2016-08-19 13:26:04 +00:00
includes
l10n I18N: Enable unloading of text domains that have been loaded just in time. 2016-06-23 14:47:44 +00:00
link Canonical: Introduce `wp_get_canonical_url()`. 2016-06-11 13:30:23 +00:00
load Bootstrap: Enhance core's memory limit handling. 2016-07-08 14:36:37 +00:00
media Allow attachment taxonomies to be fetched as objects. 2016-08-20 17:34:13 +00:00
menu Nav Menus: In `Walker_Nav_Menu_Edit::start_el()` initialize `$original_title` with `false`. 2016-07-04 20:15:48 +00:00
meta Meta: Remove object subtype handling from `register_meta()`. 2016-07-18 21:15:37 +00:00
multisite Multisite: Use `get_current_blog_id()` in `get_site()` for current site. 2016-08-08 22:32:47 +00:00
oembed Embeds: Add tests for the `WP_Embed` class. 2016-06-28 20:30:15 +00:00
option Unit Tests: Change some `@group` annotations to `@ticket`. 2016-07-04 20:24:52 +00:00
pomo
post Post Thumbnails: Restore thumbnail support for media files. 2016-08-15 19:15:48 +00:00
query Query: Non-scalar and negative values for 'p' should always result in a 404. 2016-08-20 02:31:31 +00:00
rest-api REST API: Reverse order of setting sanitization/validation, validating prior to sanitizing. 2016-07-02 23:02:45 +00:00
rewrite
taxonomy Allow attachment taxonomies to be fetched as objects. 2016-08-20 17:34:13 +00:00
term In `is_object_in_term()`, return error object rather than caching it. 2016-08-18 19:14:52 +00:00
theme
user Role/Capability: Introduce capability tests for non-logged-in users. 2016-07-18 22:38:18 +00:00
xmlrpc Unit Tests: Account for the string changes in [38077]. 2016-07-17 16:23:31 +00:00
actions.php Bootstrap/Load: Revert Plugin Global restoration around `advance-cache.php`. 2016-08-13 15:59:03 +00:00
adminbar.php Toolbar: Allow 0 as a value for the `tabindex` property of a menu item. 2016-07-12 11:18:00 +00:00
auth.php
avatar.php
basic.php Tests: Move some utility classes to their own files. 2016-08-19 15:44:37 +00:00
cache.php Unit Tests: Change some `@group` annotations to `@ticket`. 2016-07-04 20:24:52 +00:00
canonical.php Canonical: Remove a duplicate test data entry. 2016-07-14 20:50:45 +00:00
category.php
comment-submission.php
comment.php Unit Tests: Change some `@group` annotations to `@ticket`. 2016-07-04 20:24:52 +00:00
compat.php
cron.php
db.php
dbdelta.php Database: Add unit test to test that a column type change for a table name with a hyphen is working after [37583]. 2016-07-13 11:38:29 +00:00
dependencies.php
file.php
filters.php Plugins: Return the original value in `apply_filters_deprecated()` if no filter is registered for the tag. 2016-06-29 13:21:24 +00:00
functions.php Unit tests: Don't change the `memory_limit` setting during tests. 2016-07-08 18:16:07 +00:00
kses.php
l10n.php L10n: Add unit tests for the `override_load_textdomain` filter. 2016-06-18 10:09:26 +00:00
link.php
locale.php
mail.php Mail: Don't set Sender field when setting From. 2016-08-20 02:16:54 +00:00
media.php Media: fix unit test after [38296]. 2016-08-22 04:16:29 +00:00
meta.php
multisite.php
pluggable.php
post.php Unit Tests: Move `get_page_uri()` tests to `post/getPageUri.php`, added in [37345]. 2016-07-23 08:52:52 +00:00
query.php
rest-api.php
rewrite.php
shortcode.php
taxonomy.php Unit Tests: Account for the string changes in [38077]. 2016-07-17 16:23:31 +00:00
term.php
theme.php
upload.php
url.php
user.php Unit Tests: skip checking the value in `Tests_User:test_user_properties` for `db`. Casting to `array` is not the most elegant thing here, and various versions of PHP key protected/private fields differently when objects are cast. 2016-08-18 19:37:23 +00:00
walker.php
widgets.php
wp.php