The definition of the abstract class DrupalTestCase contains the following comment.

 /**
 * Constructor for DrupalWebTestCase.
 *
 * @param $test_id
 * Tests with the same id are reported together.
 */
 public function __construct($test_id = NULL) {
 $this->testId = $test_id;
 }

It's clearly not correct, as the method is defined inside the class DrupalTestCase.

CommentFileSizeAuthor
#1 826104_wrong_class.patch 692 bytesavpaderno

Comments

avpaderno’s picture

Comment #1

avpaderno
he/him
Primary language Italian
Location Brescia, 🇮🇹 🇪🇺
commented
Component: other » documentation
Status: Active » Needs review
StatusFileSize
new 826104_wrong_class.patch 692 bytes

This is the patch I created.
I am changing the issue component, as it is more a documentation bug.

dawehner’s picture

Comment #2

dawehner
Primary language German
commented
Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

looks fine

dries’s picture

Comment #3

dries commented
Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Comment #4

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.