Issue #3163162 by quietone: Fix error in d7 fixture field_config_instance table

merge-requests/2/head
Alex Pott 2020-08-04 10:06:02 +01:00
parent 72c276f60c
commit ef06a015ec
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
2 changed files with 2 additions and 2 deletions

View File

@ -5284,7 +5284,7 @@ $connection->insert('field_config_instance')
))
->values(array(
'id' => '83',
'field_id' => '54',
'field_id' => '1',
'field_name' => 'comment_body',
'entity_type' => 'comment',
'bundle' => 'comment_node_et',

View File

@ -282,7 +282,7 @@ class FieldDiscoveryTest extends MigrateDrupal7TestBase {
$this->assertArrayHasKey('user', $actual_fields['user']);
$this->assertArrayHasKey('test_content_type', $actual_fields['node']);
$this->assertCount(7, $actual_fields['node']);
$this->assertCount(6, $actual_fields['comment']);
$this->assertCount(7, $actual_fields['comment']);
$this->assertCount(22, $actual_fields['node']['test_content_type']);
foreach ($actual_fields as $entity_type_id => $bundles) {
foreach ($bundles as $bundle => $fields) {