wiki.techinc.nl/tests/phpunit/unit/includes/CommentFormatter
Timo Tijhof 0ca2b996b7 CommentFormatter: Clean up CommentParserFactoryTest
* Widen `@covers` annotation to at least the subject class.
  Ref https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cite/+/982945
  Ref https://gerrit.wikimedia.org/r/q/owner:Krinkle+is:merged+message:%2522Widen%2522

* Remove useless test for private properties existing, which
  is implementation detail of no interest to whether the class is
  working correctly or not.

* Given no assertions exist, combine testCreate()

This commit removes use of deprecated assertObjectHasAttribute, hence
tagging as T342110.

Bug: T342110
Needed-By: Id708a7716505ffce26c8eb438a98d74195682e91
Change-Id: Id7a7593b41afef89fd02af070bdf760baddd2c30
2024-02-13 19:13:37 +00:00
..
CommentBatchTest.php
CommentFormatterTestUtils.php
CommentItemTest.php
CommentParserFactoryTest.php CommentFormatter: Clean up CommentParserFactoryTest 2024-02-13 19:13:37 +00:00
RevisionCommentBatchTest.php
StringCommentIteratorTest.php test: Add PHPUnit tests for StringCommentIterator 2024-02-08 20:39:41 +00:00