Wordpress/tests/phpunit/tests
2013-09-14 23:09:59 +00:00
..
actions
admin Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
ajax Fix several esoteric errors related to AJAX unit tests for comments: 2013-09-14 18:35:43 +00:00
attachment
canonical
comment Fix undefined index notices in comment/slashes test cases. wp_new_comment() and edit_comment() expect more variables than were being passed. 2013-09-11 21:56:31 +00:00
dependencies Avoid an undefined index error in tests/phpunit/tests/dependencies/styles.php 2013-09-12 04:13:11 +00:00
export
feed
filesystem
formatting Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
functions Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
general
http WP_HTTP: Replacing the Fsockopen & Streams Transports with a new Streams transport which fully supports HTTPS communication. 2013-09-04 04:48:21 +00:00
image Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
import
includes
meta Add a post_id fixture in test/meta/slashes.php so Undefined variable: comment_post_ID notices don't fire when creating comments. 2013-09-12 04:59:29 +00:00
option * Fill in undefined var in Tests_Option_BlogOption 2013-09-12 07:16:30 +00:00
pomo Suppress Non-static method PO::*() should not be called statically, assuming $this from incompatible context by using the @ silencer in tests/pomo/po.php 2013-09-12 06:46:35 +00:00
post
query Avoid the following notice: Use of undefined constant term_id - assumed 'term_id', while running in debug mode. 2013-09-11 18:45:34 +00:00
term Use reset() to access the first element of an array, don't assume there is an item at index 0. 2013-09-12 05:08:33 +00:00
theme Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
user Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
xmlrpc * sort() returns a boolean, not a sorted set. Move the calls out of the assertions and fix the test methods. 2013-09-12 06:41:36 +00:00
actions.php Fix the PHP 5.4 Only variables should be passed by reference notices in tests/action.php. 2013-09-12 03:53:56 +00:00
adminbar.php
auth.php Set $_SERVER['REQUEST_METHOD'] = null in Tests_Auth::setUp() to suppress undefined index notices when wp_validate_auth_cookie() is called. 2013-09-11 21:37:46 +00:00
basic.php Remove error_reporting() debug cruff. 2013-09-04 19:56:06 +00:00
cache.php
canonical.php Check bad dates and redirect, instead of 404ing, as necessary and appropriate. 2013-09-06 16:35:22 +00:00
comment.php
compat.php
cron.php Pass $args as an array, rather than a splat, to wp_clear_scheduled_hook(). There are comments in the code describing the deprecated argument behavior. 2013-09-11 22:21:43 +00:00
db.php Passing non-existent object properties to WP_UnitTestCase::assertNull() produces notices, opt instead for WP_UnitTestCase::assertTrue( empty( $obj->prop ) ) in tests/db.php. 2013-09-12 04:01:34 +00:00
dependencies.php
file.php
filters.php Fix the PHP 5.4 Only variables should be passed by reference notices in tests/filters.php. 2013-09-12 04:16:59 +00:00
functions.php Replace the ancient phpfreaks.com RegEx to extract urls to ping with a more robust matcher. URLs with commas and things like & were not being pinged. The new matcher even works for most IDN URLs. Adds unit tests. 2013-09-10 03:17:51 +00:00
iterators.php
kses.php
l10n.php Revert [25405] and use a file that does exist. see #25282. 2013-09-12 17:47:40 +00:00
link.php Fix the failing Tests_Link::test_wp_get_shortlink() assertion: 2013-09-12 17:30:01 +00:00
mail.php Avoid a notice and clean up setting/unsetting of globals by moving them into setUp() and tearDown() methods in Tests_Mail. 2013-09-12 04:46:49 +00:00
media.php Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
meta.php When meta_type is passed with orderby => meta_value, orderby must also use CAST() to avoid scenarios like: SELECTing by UNSIGNED and then ordering by CHAR. Adds unit test. 2013-09-05 16:56:36 +00:00
ms.php Proper treatment of the 'archived' field in wp_get_sites(). see #14511. 2013-09-14 23:09:59 +00:00
post.php Add a test case for calling get_page_uri() with a non-existent post. 2013-09-05 22:02:42 +00:00
query.php
rewrite.php Avoids incorrect results when url_to_postid() checking is not strict enough. Adds a bunch of Unit Tests for `url_to_postid()', which is currently only tested lightly in some XML-RPC tests. 2013-09-05 17:28:52 +00:00
shortcode.php
taxonomy.php
term.php Add term_taxonomy_id to available fields in get_term_by(). Adds unit test. 2013-09-11 00:01:19 +00:00
theme.php Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
upload.php
url.php Don't assume $GLOBALS['post'] is set in tests/url.php. 2013-09-12 05:52:53 +00:00
user.php Reinstate an assertion commented out in [25409]. This test is skipped due to @ticket anyway. see #25282. 2013-09-14 19:17:31 +00:00
widgets.php