wordpress-develop/tests/phpunit/tests/comment
Sergey Biryukov ff56396bf3 Tests: Use the factory method instead of the property.
This replaces all references to the `WP_UnitTestCase_Base::$factory` property with static function calls to the `WP_UnitTestCase_Base::factory()` method.

This is a consistency improvement for the test suite.

Follow up to [35225], [35242], [49603], [54087], [54088].

Props jrf.
See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@54090 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-06 22:09:49 +00:00
..
checkComment.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
commentForm.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
commentsOpen.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
commentsTemplate.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
dateQuery.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentAuthorEmailLink.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentAuthorUrl.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentAuthorUrlLink.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentClass.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentCount.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentExcerpt.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentLink.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentReplyLink.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getCommentsPagesCount.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
getPageOfComment.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
isAvatarCommentType.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
lastCommentModified.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
metaCache.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
pingsOpen.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
query.php Code Modernization: Explicitly declare all properties in various tests. 2022-08-25 15:34:24 +00:00
slashes.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
template.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
walker.php Code Modernization: Remove dynamic properties in Tests_Comment_Walker. 2022-08-24 14:03:12 +00:00
wpAllowComment.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
wpBatchUpdateCommentType.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
wpBlacklistCheck.php General: Update code for readability and inclusion 2020-07-23 03:12:49 +00:00
wpComment.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
wpCountComments.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
wpListComments.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00
wpUpdateCommentCountNow.php Build/Test Tools: Add @covers tags to the comments tests. 2022-08-08 23:12:30 +00:00