diff --git a/core/modules/file/lib/Drupal/file/Tests/FileListingTest.php b/core/modules/file/lib/Drupal/file/Tests/FileListingTest.php index 5a36d12..8c359f0 100644 --- a/core/modules/file/lib/Drupal/file/Tests/FileListingTest.php +++ b/core/modules/file/lib/Drupal/file/Tests/FileListingTest.php @@ -89,7 +89,7 @@ function testFileListingPages() { $this->assertRaw(image_style_url('thumbnail', $file->uri)); $this->assertLinkByHref('admin/content/files/usage/' . $file->fid); } - $this->assertFalse(preg_match('/views-field-status\">\s*' . t('Temporary') . '/', $this->drupalGetContent()), t('All files are stored as permanent.')); + $this->assertFalse(preg_match('/views-field-status priority-low\">\s*' . t('Temporary') . '/', $this->drupalGetContent()), t('All files are stored as permanent.')); // Use one file two times and check usage information. $orphaned_file = $nodes[1]->file[Language::LANGCODE_NOT_SPECIFIED][0]['fid']; @@ -106,6 +106,6 @@ function testFileListingPages() { $usage = $this->sumUsages(file_usage()->listUsage($file)); $this->assertRaw('admin/content/files/usage/' . $file->fid . '">' . $usage); - $this->assertTrue(preg_match('/views-field-status\">\s*' . t('Temporary') . '/', $this->drupalGetContent()), t('Unused file marked as temporary.')); + $this->assertTrue(preg_match('/views-field-status priority-low\">\s*' . t('Temporary') . '/', $this->drupalGetContent()), t('Unused file marked as temporary.')); } }