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.
Files: 
CommentFileSizeAuthor
DrupalWebTestCase--drupalGetNodeByTitle--fix_missing_dollar_sign.patch561 bytespillarsdotnet
PASSED: [[SimpleTest]]: [MySQL] 33,144 pass(es).
[ View ]

Comments

Status:Needs review» Reviewed & tested by the community

Yes, this needs to be done.

Issue tags:+needs backport to D7

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

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.