Commit 7e5119cd authored by webchick's avatar webchick

Issue #2072557 by legolasbo, ksm.apw: Remove Unused local variable from...

Issue #2072557 by legolasbo, ksm.apw: Remove Unused local variable  from /core/modules/file/lib/Drupal/file/Tests/FileFieldRevisionTest.php.
parent d15cdbd7
......@@ -83,7 +83,6 @@ function testRevisions() {
$this->drupalPost('node/' . $nid . '/revisions/' . $node_vid_r1 . '/revert', array(), t('Revert'));
$node = node_load($nid, TRUE);
$node_file_r4 = file_load($node->{$field_name}->target_id);
$node_vid_r4 = $node->getRevisionId();
$this->assertEqual($node_file_r1->id(), $node_file_r4->id(), 'Original revision file still in place after reverting to the original revision.');
$this->assertFileIsPermanent($node_file_r4, 'Original revision file still permanent after reverting to the original revision.');
......
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