Commit 90b761ec authored by webchick's avatar webchick

Issue #1356358 by BTMash: Fixed Unknown variable in generate-d7-content.sh causes PDOException.

parent e9360598
......@@ -269,11 +269,14 @@
}
// Test that upgrade works even on a bundle whose parent module was disabled.
// This is simulated by creating an existing content type and changing the
// bundle to another type through direct database update queries.
$node_type = 'broken';
$uid = 6;
$user = user_load($uid);
$node = new stdClass();
$node->uid = $uid;
$node->type = 'broken';
$node->type = 'article';
$body_text = str_repeat("node body ($node_type) - 37", 100);
$node->sticky = 0;
$node->title = "node title 24";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment