projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
modules
/
migrate
/
tests
/
src
/
Kernel
/
MigrateEmbeddedDataTest.php
diff --git
a/web/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php
b/web/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php
index 019ac42ab9e7529e88ca1bc1cad5051bbfa57574..7be474e014e3384d96c0c040739709d08d17599b 100644
(file)
--- a/
web/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php
+++ b/
web/core/modules/migrate/tests/src/Kernel/MigrateEmbeddedDataTest.php
@@
-45,6
+45,11
@@
class MigrateEmbeddedDataTest extends KernelTestBase {
$results = [];
/** @var \Drupal\migrate\Row $row */
foreach ($source as $row) {
$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.
$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.