Skip to content
Snippets Groups Projects
Commit 0bbd1d7e authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

Use the new revision API to fix the revision integration test.

parent fd09667c
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@ public function testNodeRevisionRelationship() {
$node = $this->drupalCreateNode();
// Create revision of the node.
$node_revision = clone $node;
$node_revision->revision = 1;
$node->save();
$node_revision->setNewRevision();
$node_revision->save();
$column_map = array(
'vid' => 'vid',
'node_revision_nid' => 'node_revision_nid',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment