wordpress-develop/tests/phpunit/tests/term
Aaron Jorbin 702e2c76a6 Tests: Reduce usage of assertEquals
Replaces assertSame with assertCount in a number of tests.

Props ayeshrajans, jorbin.
See #58956.


git-svn-id: https://develop.svn.wordpress.org/trunk@56746 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-29 15:22:12 +00:00
..
cache.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:26:01 +00:00
categoryExists.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getTagLink.php Tests/Build tools: Various term related test improvements. 2023-06-15 03:23:25 +00:00
getTerm.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:26:01 +00:00
getTermBy.php Tests: Use the function get_num_queries across all unit tests. 2023-05-11 10:05:51 +00:00
getTermField.php Tests/Build tools: Various term related test improvements. 2023-06-15 03:23:25 +00:00
getTermLink.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
getTermParentsList.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
getTerms.php Tests: Reduce usage of assertEquals 2023-09-29 15:22:12 +00:00
getTheTerms.php Taxonomy: Do not prime term meta in wp_get_object_terms. 2023-05-16 12:29:34 +00:00
isObjectInTerm.php Tests: Use the function get_num_queries across all unit tests. 2023-05-11 10:05:51 +00:00
isTermPubliclyViewable.php Tests: Correctly use the factory method. 2022-09-06 22:03:10 +00:00
meta.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:26:01 +00:00
query.php Taxonomy: Cache term objects in WP_Term_Query if query is filtered. 2023-09-11 11:35:59 +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 Tests: Use the function get_num_queries across all unit tests. 2023-05-11 10:05:51 +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 Build/Test Tools: Update PHPUnit Polyfills to version 1.1.0. 2023-08-21 15:53:04 +00:00
wpInsertTerm.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +00:00
wpRemoveObjectTerms.php Bust object term cache in wp_remove_object_terms(). 2015-10-19 01:52:22 +00:00
wpSetObjectTerms.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +00:00
wpTaxonomy.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +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: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00