wordpress-develop/tests/phpunit/tests/post
2017-07-27 16:59:36 +00:00
..
attachments.php Build/Test Tools: Convert more test skipping into hard failures. These dependencies should all be present when testing. 2017-04-22 22:00:15 +00:00
filtering.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
formats.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
getBodyClass.php Query: Add tests for WP_Query::is_single() and get_body_class() with attachments. 2016-11-02 19:22:17 +00:00
getPageByPath.php In get_page_by_path(), values fetched from cache should obey $output param. 2016-05-22 16:18:22 +00:00
getPageChildren.php Unit tests for get_page_children(). 2015-05-05 19:36:46 +00:00
getPages.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
getPageUri.php Permalinks: In get_page_uri(), don't prepend a parent page slug if it's empty. 2016-07-23 10:04:20 +00:00
getPostClass.php Site Icon: Get site icon ID only when needed. 2015-10-20 18:22:41 +00:00
getPosts.php Don't specify an offset default in get_posts(). 2015-10-28 18:17:27 +00:00
getPostsByAuthorSql.php Tests: Prevent role capability pollution in Tests_Post_GetPostsByAuthorSql::test_user_has_access_only_to_private_posts_for_certain_post_types(). 2015-12-21 07:15:33 +00:00
getTheExcerpt.php Tests: Move get_the_excerpt() tests to their own file. 2016-09-30 03:23:05 +00:00
isPostTypeViewable.php Allow is_post_type_viewable() to accept a post type name. 2016-01-26 02:36:32 +00:00
listPages.php Build/Test Tools: When testing the output of wp_list_pages(), use a known and fixed date for each post so the tests don't fail when the date changes between the beginning and end of a test. 2016-11-27 00:07:49 +00:00
meta.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
nav-menu.php Menus: Make sure current-menu-parent and current-menu-ancestor classes are properly set for parent items of post type archive submenu items. 2017-07-05 21:30:30 +00:00
objects.php Posts, Post Types: Add support for post type templates. 2016-10-26 08:06:43 +00:00
output.php Tests: Move get_the_excerpt() tests to their own file. 2016-09-30 03:23:05 +00:00
pings.php Pings: Allow ping functions to accept WP_Post objects as well as post IDs. 2016-10-21 05:59:34 +00:00
query.php Tests: Use assertSame() for WP_Query 'orderby' tests. 2017-03-11 03:07:27 +00:00
revisions.php Unit Tests: 2016-08-27 08:35:16 +00:00
slashes.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
template.php Posts, Post Types: Add support for post type templates. 2016-10-26 08:06:43 +00:00
thumbnails.php Build/Test Tools: Add assertNotFalse() method to WP_UnitTestCase and use it where appropriate. 2017-01-17 03:39:36 +00:00
types.php General: Avoid counting uncountable values when reading theme directories, and in some unit tests. 2017-07-27 16:59:36 +00:00
wpInsertPost.php Use __trashed suffix rather than -%trashed% for trashed post slugs. 2016-04-07 19:21:02 +00:00
wpPost.php Revert to pre-4.7 behavior for fetching object instances by id. 2017-01-26 16:52:51 +00:00
wpPostType.php Build/Test Tools: Add assertNotFalse() method to WP_UnitTestCase and use it where appropriate. 2017-01-17 03:39:36 +00:00
wpUniquePostSlug.php Customize: Defer populating post_name for auto-draft posts in customized state until posts are published. 2016-12-05 19:32:09 +00:00