Skip to content

Instantly share code, notes, and snippets.

@heddn
Created May 4, 2017 18:48
Show Gist options
  • Save heddn/879fa163a2f739907a8fc7b2c7896c39 to your computer and use it in GitHub Desktop.
Save heddn/879fa163a2f739907a8fc7b2c7896c39 to your computer and use it in GitHub Desktop.
<code>
+++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldTest.php
@@ -84,36 +84,41 @@ public function testFields() {
+ // Test a node reference field.
+ $field_storage = FieldStorageConfig::load('node.field_company');
+ $this->assertInstanceOf(FieldStorageConfig::class, $field_storage);
+ $this->assertSame('node', $field_storage->getSetting('target_type'));
</code>
This is the ER field tests that I found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment