If I create a node with drupalCreateNode(array('body' => 'Test Data goes here')), the generated node does get a body of 'Test Data goes here', but it gets a teaser of the result of $this->randomName(32).

This is because on line 106 of drupal_web_test_case.php, the code creates a default teaser based on the default node, but it doesn't create a teaser based on the settings node. Fix seems simple, and will attempt to deliver a patch once I am back in Denver with stable internet.

Comments

boombatower’s picture

Project: SimpleTest » Drupal core
Version: 6.x-2.7 » 7.x-dev
Component: Code » simpletest.module
Category: bug » task

This effect Drupal 7 and should be changed there and backported.

Complaint makes sense, I would roll patch but CVS doesn't work from hotel (port blocked).

Dave Reid’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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