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

Status:Active» Needs review
StatusFileSize
new1.23 KB
PASSED: [[SimpleTest]]: [MySQL] 40,058 pass(es).
[ View ]

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.

Status:Reviewed & tested by the community» Fixed

Status:Fixed» Closed (fixed)

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