Closed (duplicate)
Project:
SimpleTest
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2008 at 23:06 UTC
Updated:
6 Aug 2008 at 06:09 UTC
Jump to comment: Most recent file
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?).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | all-6-actions-205414-1.patch | 8.28 KB | pwolanin |
| all-6-actions.patch | 8.31 KB | pwolanin |
Comments
Comment #1
pwolanin commentednote: patch is from the simpletest module directory. This one fixes the end of the file removing the closing PHP tag.
Comment #2
boombatower commentedThis no longer works for HEAD so it needs to be rerolled. Also it appears that the method
setupis being used instead ofsetUp.Comment #3
boombatower commentedI believe this has been fixed in 7.x core.