summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 14:00:27 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 14:00:27 -0800
commit9318096df2f22e59f993c48db932c39a15bcc41f (patch)
tree82bb759dc2b62cc829919d9594d95d829616cdb1 /modules/simpletest
parent27910871de69895eb9382be95037da8a473925d0 (diff)
downloadbrdo-9318096df2f22e59f993c48db932c39a15bcc41f.tar.gz
brdo-9318096df2f22e59f993c48db932c39a15bcc41f.tar.bz2
Issue #1160928 follow-up by sun: Commit missing file. Oops.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/upgrade/drupal-6.node_type_broken.database.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/simpletest/tests/upgrade/drupal-6.node_type_broken.database.php b/modules/simpletest/tests/upgrade/drupal-6.node_type_broken.database.php
new file mode 100644
index 000000000..1dc1946b3
--- /dev/null
+++ b/modules/simpletest/tests/upgrade/drupal-6.node_type_broken.database.php
@@ -0,0 +1,34 @@
+<?php
+db_insert('comments')->fields(array(
+ 'cid',
+ 'pid',
+ 'nid',
+ 'uid',
+ 'subject',
+ 'comment',
+ 'hostname',
+ 'timestamp',
+ 'status',
+ 'format',
+ 'thread',
+ 'name',
+ 'mail',
+ 'homepage',
+))
+->values(array(
+ 'cid' => 1,
+ 'pid' => 0,
+ 'nid' => 37,
+ 'uid' => 3,
+ 'subject' => 'Comment title 1',
+ 'comment' => 'Comment body 1 - Comment body 1 - Comment body 1 - Comment body 1 - Comment body 1 - Comment body 1 - Comment body 1 - Comment body 1',
+ 'hostname' => '127.0.0.1',
+ 'timestamp' => 1008617630,
+ 'status' => 0,
+ 'format' => 1,
+ 'thread' => '01/',
+ 'name' => NULL,
+ 'mail' => NULL,
+ 'homepage' => '',
+))
+->execute();