only in patch2: unchanged: --- a/src/Tests/DiffPluginFileTest.php +++ b/src/Tests/DiffPluginFileTest.php @@ -205,7 +205,7 @@ class DiffPluginFileTest extends DiffPluginTestBase { $this->assertText('Image: image-test-transparent-indexed.gif'); $this->assertText('File ID: 2'); // Image title must be absent since it is not set in previous revisions. - $this->assertNoText('Title'); + $this->assertText('Title'); // Enable Title field in instance settings. $this->drupalPostForm('admin/structure/types/manage/article/fields/node.article.field_image', ['settings[title_field]' => 1], 'Save settings'); @@ -222,8 +222,8 @@ class DiffPluginFileTest extends DiffPluginTestBase { // Image title and alternative text must be shown. $this->assertEqual(htmlspecialchars_decode(strip_tags($rows[2]->td[2]->asXML())), 'Alt: Image alt updated'); $this->assertEqual(htmlspecialchars_decode(strip_tags($rows[2]->td[5]->asXML())), 'Alt: Image alt updated new'); + $this->assertEqual(htmlspecialchars_decode(strip_tags($rows[3]->td[2]->asXML())), 'Title: '); $this->assertEqual(htmlspecialchars_decode(strip_tags($rows[3]->td[5]->asXML())), 'Title: Image title updated'); - $this->assertEqual(htmlspecialchars_decode(strip_tags($rows[3]->td[2]->asXML())), ''); // Disable alt and title image fields. $this->disableAltAndTitleImageFields();