Skip to content
Snippets Groups Projects
Commit 7e5119cd authored by Angie Byron's avatar Angie Byron
Browse files

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
Branches
Tags
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
......@@ -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.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment