Previously, cwgordon7 was writing a new test for a GHOP task: http://drupal.org/node/201139#comment-669788

When triggering all 6 actions, we got inexplicable errors - only the 1st of the 6 worked. So, we backed off and settled for 1 action.

After further IRC discussion between myself, cwgordon7, Rok Zlender, dmitrig01, & jvandyke- here's a patch that works by using POST rather than node_save() to create the content. Seems to avoid the previous problem (some stale static var?).

Comments

pwolanin’s picture

StatusFileSize
new8.28 KB

note: patch is from the simpletest module directory. This one fixes the end of the file removing the closing PHP tag.

boombatower’s picture

Version: 6.x-1.x-dev »
Status: Needs review » Needs work

This no longer works for HEAD so it needs to be rerolled. Also it appears that the method setup is being used instead of setUp.

boombatower’s picture

Status: Needs work » Closed (duplicate)

I believe this has been fixed in 7.x core.