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.patch692 bytesavpaderno

Comments

avpaderno’s picture

Component: other » documentation
Status: Active » Needs review
StatusFileSize
new692 bytes

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

dawehner’s picture

Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

looks fine

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

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