Attached one-line patch fixes what I am sure is a simple typographical error:

--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -845,7 +845,7 @@ class DrupalWebTestCase extends DrupalTestCase {
   /**
    * Get a node from the database based on its title.
    *
-   * @param title
+   * @param $title
    *   A node title, usually generated by $this->randomName().
    * @param $reset
    *   (optional) Whether to reset the internal node_load() cache.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this needs to be done.

TR’s picture

Issue tags: +Needs backport to D7

Tagging for backport to D7. Applies cleanly to D7 and D8.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x and 7.x. Thanks!

For future reference, I'm fine with patches like these being all combined into one. It makes reviewing and committing easier.

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