Wordpress/tests/phpunit/tests
Aaron Jorbin 6adbde9340 Add Automated Tests for custom logo support
[36698] introduced custom logos, this tests the API. 

Fixes #36086. See #33755.
Props obenland.



git-svn-id: https://develop.svn.wordpress.org/trunk@36905 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 20:43:28 +00:00
..
actions
admin Tests: Remove test_new_files_are_not_in_old_files_array() from [36843]. 2016-03-08 16:44:25 +00:00
ajax After [35518] define $_POST['post_view'] in test_dont_process_terms_if_taxonomy_does_not_allow_show_on_quick_edit(). 2015-11-04 23:05:03 +00:00
attachment 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
canonical Tests: Add more paged canonical tests for page_on_front. 2016-01-09 08:08:47 +00:00
category Make sure an assertion takes place in 'visited' test for get_category_parents(). 2016-02-29 20:30:04 +00:00
comment Allow comments to be queried by 'any' post_type or post_status. 2016-02-06 04:50:05 +00:00
customize Customize: Fix regressions and harden implementation of selective refresh for nav menus. 2016-03-09 00:08:51 +00:00
date 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
db Tests: When testing the utf8mb4 charset, ensure that the current MySQL server has utf8mb4 support. 2015-12-29 04:39:02 +00:00
dependencies Dependencies: Improve group processing of script dependencies. 2016-03-06 19:49:54 +00:00
external-http Unit Tests: move some oEmbed tests that can trigger HTTP calls to Tests_External_HTTP_OEmbed. 2015-10-15 01:28:05 +00:00
feed Improve Automated Feed Tests 2016-02-12 19:02:25 +00:00
filesystem
formatting Formatting: In sanitize_title_with_dashes(), convert &nbsp, &ndash, and &mdash HTML entities to hyphens on save. 2016-02-29 04:41:03 +00:00
functions Tests: Add unit tests for number_format_i18n(). 2016-03-01 21:19:20 +00:00
general Add Automated Tests for custom logo support 2016-03-09 20:43:28 +00:00
http HTTP API: Add the missing 1xx HTTP response codes as constants of the WP_Http class, and add tests to ensure all available response codes are covered. 2016-02-28 01:45:24 +00:00
image Add Automated Tests for custom logo support 2016-03-09 20:43:28 +00:00
import
includes Tests: setExpectedDeprecated and setExpectedIncorrectUsage tests should make assertions. 2016-02-29 21:55:41 +00:00
l10n Tests: Don't modify global state before checking whether to skip get_locale() tests. 2016-02-26 20:28:07 +00:00
link Permalinks: Make get_post_type_archive_link() work for the 'post' post type. 2016-01-08 22:00:48 +00:00
meta Remove tests related to wp_*_post_meta() functions. 2016-02-29 22:13:28 +00:00
multisite 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
oembed Embeds: Adjust the iframe title attribute for improved accessibility. 2016-03-07 09:59:02 +00:00
option 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
pomo mbstring.func_overload test should be skipped properly. 2016-02-29 22:37:42 +00:00
post Menus: Avoid a notice when outputting a description for an existing archive menu item for a post type that doesn't. 2016-03-08 18:24:50 +00:00
query Remove erroneous return in date_query test. 2016-02-29 22:40:20 +00:00
rest-api OPTIONS requests to REST API should return Allow header. 2016-03-03 09:54:32 +00:00
rewrite Correct some more tests which were using example.org instead of WP_TESTS_DOMAIN. 2016-02-26 00:25:10 +00:00
term Taxonomy: Improve backward compatibility on the wp-admin/term.php page. 2016-03-07 12:55:04 +00:00
theme Themes: Enhance filtering options for allowed themes on a network. 2016-01-20 18:28:33 +00:00
user Tests: Fix all the things. 2015-12-21 07:09:43 +00:00
xmlrpc XML-RPC: Revert [34681] as it broke date handling. 2016-01-03 19:48:07 +00:00
actions.php
adminbar.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
auth.php Authentication: Allow users to log in using their email address. 2016-02-22 23:14:27 +00:00
avatar.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
basic.php Fix License test 2016-03-05 20:21:23 +00:00
cache.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
canonical.php Canonical: Improve the method names and inline docs for canonical redirect tests. 2016-02-25 21:55:57 +00:00
category.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
comment-submission.php Comments: Restrict the maximum characters for input fields within the comments template. 2016-01-13 01:24:46 +00:00
comment.php Comments: Unit test for `wp_get_comment_fields_max_lengths(). 2016-02-12 14:17:13 +00:00
compat.php
cron.php
db.php Tests: Use the new wpdb::close() method for closing the DB connection. 2016-02-05 01:05:47 +00:00
dbdelta.php Tests: Add Tests_dbDelta::assertTableHasPrimaryKey(). 2016-02-17 18:54:27 +00:00
dependencies.php
file.php Tests: Merge the two different wp_normalize_path() tests. 2016-03-08 07:06:12 +00:00
filters.php
functions.php Tests: Remove debug from [36882]. 2016-03-08 07:07:56 +00:00
kses.php KSES: Allow the reversed attribute for <ol>. 2015-12-16 09:53:18 +00:00
l10n.php L10n: Add unit tests for _n_noop() and _nx_noop(). 2016-02-28 20:48:58 +00:00
link.php Move get_adjacent_post() tests to their own file. 2015-12-23 19:38:29 +00:00
locale.php I18N: Introduce tests for WP_Locale. 2016-01-13 23:49:52 +00:00
mail.php Tests: Make sure that test_wp_mail_break_it() makes an assertion. 2016-02-29 22:04:32 +00:00
media.php Improve the performance of wp_upload_dir(): 2016-02-17 22:51:01 +00:00
meta.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
multisite.php
pluggable.php Users: Deprecate the get_currentuserinfo() pluggable function. 2016-01-15 10:15:21 +00:00
post.php Taxonomy: Improve backward compatibility on the wp-admin/term.php page. 2016-03-07 12:55:04 +00:00
query.php WP_Query taxonomy query vars should be set to first of multiple taxonomies. 2016-02-06 03:57:33 +00:00
rest-api.php REST API: Unit test for OPTIONS request should call rest_send_allow_header 2016-03-03 11:37:48 +00:00
rewrite.php Rewrite Rules: Ensure url_to_postid() operates as expected when it's used in the context of another site within a Multisite network that uses mixed URL schemes. 2016-02-28 02:12:13 +00:00
shortcode.php Tests: Use the correct URL in some shortcode tests. 2015-12-26 04:50:23 +00:00
taxonomy.php Introduce publicly_queryable taxonomy argument. 2016-02-13 03:50:37 +00:00
term.php Order terms by 'name' when populating object term cache. 2015-12-22 01:50:08 +00:00
theme.php Comments: Commit tests missed in [35848]. 2015-12-10 03:15:44 +00:00
upload.php Correct some more tests which were using example.org instead of WP_TESTS_DOMAIN. 2016-02-26 00:25:10 +00:00
url.php Refactor some janky URL tests into data providers for clarity and better error reporting. 2016-02-26 02:10:32 +00:00
user.php Use markTestSkipped() to skip a multisite-only test. 2016-02-29 22:55:56 +00:00
walker.php
widgets.php Widgets: Revert [34465], as it introduced a regression, making the $index argument of dynamic_sidebar() case-sensitive. 2015-12-31 03:12:36 +00:00
wp.php Query: Add a WP::remove_query_var() helper function. 2016-01-05 20:56:10 +00:00