Skip to content
Snippets Groups Projects
Unverified Commit ef06a015 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 72c276f6
No related branches found
No related tags found
No related merge requests found
...@@ -5284,7 +5284,7 @@ ...@@ -5284,7 +5284,7 @@
)) ))
->values(array( ->values(array(
'id' => '83', 'id' => '83',
'field_id' => '54', 'field_id' => '1',
'field_name' => 'comment_body', 'field_name' => 'comment_body',
'entity_type' => 'comment', 'entity_type' => 'comment',
'bundle' => 'comment_node_et', 'bundle' => 'comment_node_et',
...@@ -282,7 +282,7 @@ public function testGetAllFields() { ...@@ -282,7 +282,7 @@ public function testGetAllFields() {
$this->assertArrayHasKey('user', $actual_fields['user']); $this->assertArrayHasKey('user', $actual_fields['user']);
$this->assertArrayHasKey('test_content_type', $actual_fields['node']); $this->assertArrayHasKey('test_content_type', $actual_fields['node']);
$this->assertCount(7, $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']); $this->assertCount(22, $actual_fields['node']['test_content_type']);
foreach ($actual_fields as $entity_type_id => $bundles) { foreach ($actual_fields as $entity_type_id => $bundles) {
foreach ($bundles as $bundle => $fields) { foreach ($bundles as $bundle => $fields) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment