Skip to content
Snippets Groups Projects

Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity

Open Stefanos Petrakis requested to merge issue/drupal-3130107:3130107-add-unit-test into 10.1.x
10 files
+ 86
19
Compare changes
  • Side-by-side
  • Inline
Files
10
  • aea8d67b
    Issue #3323260 by Spokje, longwave: Deprecate node_revision_load() and friends · aea8d67b
    Alex Pott authored
@@ -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