wordpress-develop/tests/phpunit/tests/term
Sergey Biryukov d1046dc5f3 Tests: Use the data_ prefix for various data provider methods.
This aims to bring more consistency to the test suite, as the vast majority of data providers already use that prefix.

Includes moving some data providers next to the tests they are used in.

Follow-up to [55464].

See #57841.

git-svn-id: https://develop.svn.wordpress.org/trunk@55562 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-19 12:03:30 +00:00
..
cache.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
categoryExists.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTagLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getTerm.php Taxonomy: Use get_terms instead of a database lookup in term_exists(). 2022-03-11 11:05:02 +00:00
getTermBy.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
getTermField.php Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +00:00
getTermLink.php Tests: Simplify and correct get_term_link() and get_edit_term_link() tests: 2022-09-02 01:14:29 +00:00
getTermParentsList.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
getTerms.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
getTheTerms.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
isObjectInTerm.php Coding Standards: Rename $post_ID variable to $post_id in various files. 2023-02-19 15:03:50 +00:00
isTermPubliclyViewable.php Tests: Correctly use the factory method. 2022-09-06 22:03:10 +00:00
meta.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
query.php Taxonomy: Remove placeholder from WP_Term_Query cache key. 2023-01-18 09:56:55 +00:00
slashes.php Code Modernization: Remove dynamic properties in Tests_*_Slashes. 2022-06-23 14:24:08 +00:00
splitSharedTerm.php Taxonomy: Use get_terms instead of a database lookup in term_exists(). 2022-03-11 11:05:02 +00:00
taxQuery.php Query: Validate relation in WP_Date_Query. 2022-10-17 11:47:41 +00:00
termCounts.php Tests: Correctly use the factory method. 2022-09-06 22:03:10 +00:00
termExists.php Taxonomy: Use get_terms instead of a database lookup in term_exists(). 2022-03-11 11:05:02 +00:00
wpDeleteObjectTermRelationships.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
wpDeleteTerm.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:13:57 +00:00
wpGenerateTagCloud.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpGetObjectTerms.php Code Modernization: Explicitly declare all properties in various tests. 2022-08-25 15:34:24 +00:00
wpInsertTerm.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpRemoveObjectTerms.php Bust object term cache in wp_remove_object_terms(). 2015-10-19 01:52:22 +00:00
wpSetObjectTerms.php Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +00:00
wpTaxonomy.php Posts, Post Types/Taxonomies: Add object type specific registration filters. 2022-04-11 05:09:53 +00:00
wpTerm.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpUniqueTermSlug.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpUpdateTerm.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00