summaryrefslogtreecommitdiffstats
path: root/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php')
-rw-r--r--core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
index 96875bd..9ca1d4a 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
@@ -150,6 +150,9 @@ class MigrateNodeTest extends MigrateDrupal7TestBase {
$this->assertIdentical('93', $node->field_images->height);
$this->assertIdentical('http://google.com', $node->field_link->uri);
$this->assertIdentical('Click Here', $node->field_link->title);
+ // Test that an email field is migrated.
+ $this->assertSame('default@example.com', $node->field_email->value);
+ $this->assertSame('another@example.com', $node->field_email[1]->value);
$node = Node::load(2);
$this->assertSame('en', $node->langcode->value);