summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal
diff options
context:
space:
mode:
authorAlex Pott2018-12-04 13:45:14 (GMT)
committerAlex Pott2018-12-04 13:45:23 (GMT)
commitc2c4d3d04abd3a83b3f46b1edc7535bfabd24033 (patch)
tree54e13328406e8aa489cc2476b11fe99a313a0710 /core/modules/migrate_drupal
parentad9f72e1bd2ea8c688ab00647e1a2e6be105c942 (diff)
Issue #2956368 by marcoscano, Nitebreed, ph53: MediaThumbnailFormatter produces unhelpful text alternative and title attributes for media thumbnails
(cherry picked from commit e6dfd046db36a028782fdbd5139f27588c027b05)
Diffstat (limited to 'core/modules/migrate_drupal')
-rw-r--r--core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
index 33e0197..cf5d3da 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
@@ -371,7 +371,7 @@ class ContentEntityTest extends KernelTestBase {
$values = $media_source->current()->getSource();
$this->assertEquals(1, $values['mid']);
$this->assertEquals('Foo media', $values['name'][0]['value']);
- $this->assertEquals('Foo media', $values['thumbnail'][0]['title']);
+ $this->assertNull($values['thumbnail'][0]['title']);
$this->assertEquals(1, $values['uid'][0]['target_id']);
$this->assertEquals('image', $values['bundle'][0]['target_id']);
}