The Trigger content (node) actions test fails when the auto-increment increment is any value other than 1 or when the auto-increment offset is not 0.

Files: 
CommentFileSizeAuthor
#1 drupal-trigger_content_actions_auto-increment_fix-2011822-1.patch1.23 KBpdrake
PASSED: [[SimpleTest]]: [MySQL] 40,058 pass(es). View

Comments

pdrake’s picture

Status: Active » Needs review
FileSize
1.23 KB
PASSED: [[SimpleTest]]: [MySQL] 40,058 pass(es). View
RobLoach’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/modules/trigger/trigger.testundefined
@@ -114,10 +114,10 @@ class TriggerContentTestCase extends TriggerWebTestCase {
     for ($index = 0; $index < 3; $index++) {
-      $edit = array('title' => $this->randomName());
-      $this->drupalPost('node/add/page', $edit, t('Save'));
+      $nodes[] = $this->drupalCreateNode(array('type' => 'page'));

This is much cleaner.

David_Rothstein’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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