Skip to content
Snippets Groups Projects

Issue #3323260: Deprecate node_revision_load() and friends

Closed Issue #3323260: Deprecate node_revision_load() and friends
All threads resolved!
All threads resolved!
Files
10
@@ -66,7 +66,7 @@ public function testRevisions() {
$this->assertFileIsPermanent($node_file_r2, 'Replacement file is permanent.');
// Check that the original file is still in place on the first revision.
$node = node_revision_load($node_vid_r1);
$node = $node_storage->loadRevision($node_vid_r1);
$current_file = File::load($node->{$field_name}->target_id);
$this->assertEquals($node_file_r1->id(), $current_file->id(), 'Original file still in place after replacing file in new revision.');
$this->assertFileExists($node_file_r1->getFileUri());
Loading