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
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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