diff --git a/core/modules/node/src/Tests/NodeShowHelpTextTest.php b/core/modules/node/src/Tests/NodeShowHelpTextTest.php index bc76265..8e66543 100644 --- a/core/modules/node/src/Tests/NodeShowHelpTextTest.php +++ b/core/modules/node/src/Tests/NodeShowHelpTextTest.php @@ -64,20 +64,17 @@ protected function setUp() { } /** - * Creates a content type with a help text, verifies that text is shown on - * the node add form for that content type, creates a node of that type and - * verifies the help text is shown on the edit form of this node. + * Verifies that the 'testing' help text appears on the "node add" and + * "node edit" forms for the test content type. */ public function testNodeShowHelpText() { - // Check node add form. + // Check the node add form. $this->drupalGet('node/add/' . $this->testType); $this->assertResponse(200); $this->assertText($this->testText, 'Help text is found on node add form.'); - // Create node. + // Create node and check the node edit form. $node = $this->drupalCreateNode(array('type' => $this->testType)); - - // Check node edit form; $this->drupalGet('node/' . $node->id() . '/edit'); $this->assertResponse(200); $this->assertText($this->testText, 'Help text is found on node edit form.');