..
actions
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
admin
Add basic unit tests for `is_plugin_active()` and `is_plugin_inactive()`.
2014-11-25 01:12:39 +00:00
ajax
Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed?
2014-07-12 07:08:15 +00:00
attachment
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
canonical
Remove failing unit tests from 'canonical' group.
2014-11-08 20:36:27 +00:00
comment
Declare an explicit 'order' in `test_get_comments_by_user()`.
2014-11-24 14:55:49 +00:00
date
Introduced `dayofweek_iso` time param for `WP_Date_Query`.
2014-11-01 03:23:15 +00:00
db
WPDB: When looking up the character set for a table or column, make sure we send the table name to MySQL in the correct case, as MySQL can be configured with case sensitive table names.
2014-12-02 02:59:36 +00:00
dependencies
Remove skipped tests for unimplemented JS plural functions.
2014-11-22 20:11:10 +00:00
export
Remove skipped tests for `WP_Export_Query`.
2014-11-22 20:22:01 +00:00
feed
Fix PHP notice in `Tests_Feed_RSS2::test_items()`.
2014-11-10 02:04:22 +00:00
filesystem
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
formatting
Use correct notation for global functions in `@covers` test annotations.
2014-12-19 15:20:41 +00:00
functions
Ignore case when checking string 'false' in `wp_validate_boolean()`.
2014-11-03 15:54:42 +00:00
general
[28785] introduced a bug, where encoded query arguments were decoded by `parse_str()` inside of `wp_parse_str()` but never re-encoded later on.
2014-11-01 00:53:26 +00:00
http
HTTP API: Support both the 'limit_response_size' and 'stream' parameters at the same time, allowing a partial file download.
2014-10-20 07:31:45 +00:00
image
Add tests which ensure the `wp_editor_set_quality` and `jpeg_quality` filters only apply if they are added before the corresponding `WP_Image_Editor` is instantiated.
2014-12-15 21:24:21 +00:00
import
Use HTTPS URLs for core.trac.wordpress.org
2014-09-29 13:27:55 +00:00
includes
Unit Tests: The `assertEqualSets()` helper was returning true for some sets that were not equal. `assertEqualSets()` now behaves correctly, and the new `assertEqualSetsWithIndex()` helper also checks that the array indexes are the same.
2014-12-01 05:01:29 +00:00
link
Add tests for `get_adjacent_post_link()` wrappers.
2014-11-06 20:16:10 +00:00
meta
Make orderby=meta_value compatible with meta_query when relation=OR.
2014-10-19 18:53:55 +00:00
multisite
Clean up factory arguments in ms-sites group.
2014-12-08 02:32:53 +00:00
option
Split and organize multisite unit tests
2014-10-16 05:06:22 +00:00
pomo
Fix strict notices in Tests_POMO_PO.
2013-12-01 12:47:35 +00:00
post
In `WP_Meta_Query`, interpret 'value' correctly when used with EXISTS/NOT EXISTS.
2014-12-14 19:00:31 +00:00
query
Use correct notation for global functions in `@covers` test annotations.
2014-12-19 15:20:41 +00:00
term
Update individual term caches in `get_terms()`.
2014-12-17 16:38:44 +00:00
theme
Clean up 'post-thumbnail' theme support unit tests.
2014-11-01 04:00:59 +00:00
user
Declare user_email when setting up fixtures for `count_user_posts()` tests.
2014-11-22 15:04:07 +00:00
xmlrpc
Remove failing `test_network_limit()` XML-RPC test.
2014-11-23 01:22:15 +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
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
auth.php
Type cast `$nonce` to string in `wp_verify_nonce()`.
2014-11-26 19:18:02 +00:00
basic.php
Adds a unit test to demonstrate that the order of `case` and `default` in a `switch` statement does not matter.
2014-05-30 17:31:51 +00:00
cache.php
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
canonical.php
Remove failing unit tests from 'canonical' group.
2014-11-08 20:36:27 +00:00
category.php
Update unit tests to reflect:
2014-06-09 15:58:16 +00:00
comment.php
Return an empty array from `get_approved_comments()` when `$post_id` is empty.
2014-11-20 01:51:38 +00:00
compat.php
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
cron.php
`wp_schedule_single_event()` should not prevent scheduling a future duplicate event. It should only reject an event as a duplicate if there is already a similar event scheduled within 10 minutes of the given timestamp.
2014-10-17 19:16:26 +00:00
db.php
Unit Tests: The `test_set_allowed_incompatible_sql_mode()` test tries to set the `NO_ZERO_DATE` sql mode, which was removed in MySQL 5.7. This causes the test to incorrectly fail when run against MySQL 5.7.
2014-12-02 05:11:49 +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
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00
filters.php
Remove failing test in the `hooks` group.
2014-11-22 20:25:03 +00:00
functions.php
When `json_encode()` returns a JSON string containing `'null'` in PHP 5.4 or earlier, `wp_json_encode()` will now sanity check the data, as older versions of PHP failed to encode non UTF-8 characters correctly, instead returning `'null'`.
2014-11-25 05:00:36 +00:00
iterators.php
When setting `WP_TESTS_FORCE_KNOWN_BUGS` to `true`, it is preferable that some forced tests are still skipped when they call classes or functions that do not exist, producing fatal errors.
2013-11-25 22:49:51 +00:00
kses.php
Make wp_kses_no_null() remove any invalid control characters in a string.
2014-07-01 18:00:50 +00:00
l10n.php
Remove failing `is_textdomain_loaded()` test.
2014-11-22 20:36:51 +00:00
link.php
Fix a MySQL warning in the `test_get_adjacent_post_exclude_self_term` unit test, caused by [30400].
2014-11-20 01:47:30 +00:00
mail.php
Remove failing test for unimplemented `wp_mail()` enhancement.
2014-11-22 20:05:34 +00:00
media.php
Adjust the RegEx in `wp_check_filetype()` to be aware that query strings are thing that exist sometimes in URLs.
2014-11-30 06:32:16 +00:00
meta.php
Update the tests for `get_metadata()` to reflect the revert in r30701.
2014-12-02 03:43:17 +00:00
multisite.php
Split and organize multisite unit tests
2014-10-16 05:06:22 +00:00
post.php
Check attachments as well as the current post type when checking for duplicate post slugs. This avoids creating a page with a slug which conflicts with an existing attachment (the inverse is already handled).
2014-11-30 04:48:54 +00:00
query.php
Improve global variable setting in `setup_postdata()`.
2014-10-29 02:31:37 +00:00
rewrite.php
Setup rewrite changes in tests in a predictable fashion. Don't mix method calls with wrapper function calls.
2014-07-03 01:42:57 +00:00
shortcode.php
Remove failing shortcode unit tests
2014-11-08 22:50:30 +00:00
taxonomy.php
Introduce `term_template` param to `get_the_taxonomies()`.
2014-11-03 18:48:42 +00:00
term.php
In `wp_update_term()`, limit duplicate slug checks to the same taxonomy as the updated term.
2014-12-22 15:32:59 +00:00
theme.php
Fix formatting in [29946].
2014-10-17 22:14:49 +00:00
upload.php
`wp_upload_dir()` has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, `tearDown()` and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests.
2014-11-30 19:05:52 +00:00
url.php
Forcing SSL logins now forces SSL for the entire admin, with no middle ground.
2014-05-29 03:58:41 +00:00
user.php
Remove failing tests related to `WP_User::__unset()`.
2014-11-22 15:36:00 +00:00
walker.php
Add unit tests for `Walker` class.
2014-08-01 20:35:25 +00:00
widgets.php
Move PHPUnit tests into a tests/phpunit directory.
2013-08-29 18:39:34 +00:00