..
actions
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
admin
Tests: Remove test_new_files_are_not_in_old_files_array()
from [36843].
2016-03-08 16:44:25 +00:00
ajax
Adjust unit tests to account for change in [37144]
2016-03-30 19:52:14 +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: After [37260], use WP's setUpBeforeClass()
wrappers.
2016-04-20 15:30:40 +00:00
category
Improve error handling in get_categories()
.
2016-03-14 13:52:14 +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: Harden assignment of Customizer settings transports for selective refreshable widgets
2016-04-07 20:58:56 +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
Ensure consistent dependency order when using wp_add_inline_script()
2016-04-10 03:32:47 +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
Require dependencies when appropriate in some unit test files.
2015-07-14 03:07:13 +00:00
formatting
Formatting: In sanitize_title_with_dashes()
, convert  
, &ndash
, and &mdash
HTML entities to hyphens on save.
2016-02-29 04:41:03 +00:00
functions
Tests: Pre-declare the $year_url
property before initialization in Tests_Get_Archives::setUp()
.
2016-04-21 02:55:52 +00:00
general
Template: Remove $size
reference from get_custom_logo()
.
2016-03-30 17:19:41 +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
Media: Fix typo in test_image_preserves_alpha_on_rotate()
.
2016-03-15 03:50:40 +00:00
import
Require dependencies when appropriate in some unit test files.
2015-07-14 03:07:13 +00:00
includes
Tests: Ensure that the default wp_die()
handler can handle a WP_Error
object.
2016-03-23 19:00:38 +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
Tests: Add test for multiple site path segments in bootstrap
2016-04-18 03:38:11 +00:00
oembed
Embeds: Adjust the iframe title attribute for improved accessibility.
2016-03-07 09:59:02 +00:00
option
Options: Do not set network options to autoload in single site
2016-04-16 19:47:14 +00:00
pomo
mbstring.func_overload test should be skipped properly.
2016-02-29 22:37:42 +00:00
post
Themes: Revert [36112]
2016-04-19 21:23:20 +00:00
query
Tests: More explicit fixture content when testing s=0
query string.
2016-04-21 15:52:33 +00:00
rest-api
REST API: Deliver parameters unadulterated instead of slashed.
2016-04-06 21:01:11 +00:00
rewrite
Canonical / Query: Restore the is_404()
check in wp_old_slug_redirect()
which was removed in [34659].
2016-03-23 21:53:44 +00:00
term
Fix test related to cap check in get_edit_term_link()
.
2016-03-14 01:51:12 +00:00
theme
Multisite: Introduce WP_Theme
methods to network enable/disable themes.
2016-04-14 03:39:45 +00:00
user
Role/Capability: Add create_sites
and delete_sites
to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests.
2016-04-04 22:29:55 +00:00
xmlrpc
XMLRPC: Unit tests left off [r37043]
2016-03-22 15:11:06 +00:00
actions.php
Introduce doing_filter() and doing_action() to identify hooks in progress.
2014-02-26 18:43:59 +00:00
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
WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding()
, as it behaves differently to MySQL's character encoding conversion.
2015-05-06 02:59:50 +00:00
cron.php
In PHPUnit test classes, parent::tearDown()
should be the last thing done in tearDown()
methods.
2015-03-05 13:14:15 +00:00
db.php
WPDB: Reset connection status variables when the connection is closed.
2016-03-15 03:27:14 +00:00
dbdelta.php
Tests: Add Tests_dbDelta::assertTableHasPrimaryKey()
.
2016-02-17 18:54:27 +00:00
dependencies.php
Remove tests for code still in development, see #22229 . If accidentally run, they produce fatal errors.
2013-10-07 14:17:13 +00:00
file.php
Tests: Merge the two different wp_normalize_path()
tests.
2016-03-08 07:06:12 +00:00
filters.php
In remove_all_filters()
, only remove callbacks that match the $priority
parameter.
2014-12-31 19:06:29 +00:00
functions.php
Improve testability and coverage of wp_ext2type()
.
2016-04-13 03:11:25 +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
Media: fix erroneously inserting a rel attribute in get_image_send_to_editor()
. Reverts most of [34259] and [34260] and adds a unit test.
2016-03-18 20:04:19 +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
Initialise $_SERVER[ 'REMOTE_ADDR' ]
during the test bootstrap so individual tests need not.
2015-09-15 08:04:33 +00:00
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
Users: Add a unit test for [37276].
2016-04-21 11:51:59 +00:00
walker.php
Add unit tests for Walker
class.
2014-08-01 20:35:25 +00:00
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