diff core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php	Thu Feb 28 13:21:36 2019 +0000
@@ -45,6 +45,11 @@
     $results = [];
     /** @var \Drupal\migrate\Row $row */
     foreach ($source as $row) {
+      // The plugin should not mark any rows as stubs. We need to use
+      // assertSame() here because assertFalse() will pass falsy values (e.g.,
+      // empty arrays).
+      $this->assertSame(FALSE, $row->isStub());
+
       $data_row = $row->getSource();
       // The "data" row returned by getSource() also includes all source
       // configuration - we remove it so we see only the data itself.