wordpress-develop/tests/phpunit/tests/functions
Sergey Biryukov e77691036d Tests: Use more appropriate assertions in various tests.
This replaces instances of `assertSame( [number], count( ... ) )` with `assertCount()` to use native PHPUnit functionality.

Follow-up to [51335], [51337].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51367 602fd350-edb4-49c9-b593-d223f7449a82
2021-07-07 10:32:56 +00:00
..
addMagicQuotes.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
allowedProtocols.php Add ircs and irc6 to the list of allowed protocols. 2020-09-26 21:00:19 +00:00
anonymization.php Tests: Convert a few more function_exists() and extension_loaded() checks to @requires annotations. 2020-09-21 13:25:38 +00:00
canonicalCharset.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
cleanupHeaderComment.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
deprecated.php Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
doEnclose.php Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
getStatusHeaderDesc.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
getWeekstartend.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
isNewDay.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
isSerializedString.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
listFiles.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
numberFormatI18n.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
pluginBasename.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
referer.php Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
removeQueryArg.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
sizeFormat.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
underscoreReturn.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wp.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wpArrayGet.php Tests: Remove trailing commas in function calls in _wp_array_get() tests. 2021-05-24 13:46:39 +00:00
wpArraySet.php Tests: Correct description for the Tests_Functions_wpArraySet class. 2021-05-24 12:27:35 +00:00
wpArraySliceAssoc.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wpAuthCheck.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wpGetArchives.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
wpGetMimeTypes.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
wpListFilter.php Tests: Use more appropriate assertions in various tests. 2021-07-07 10:32:56 +00:00
wpListUtil.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wpRemoteFopen.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
wpToKebabCase.php Tests: Use assertSame() in _wp_to_kebab_case() tests. 2021-06-24 06:51:54 +00:00
wpValidateBoolean.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00