Unverified Commit 70c84d09 authored by alexpott's avatar alexpott

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

(cherry picked from commit ef06a015)
parent 5ca99d59
...@@ -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',
...@@ -280,7 +280,7 @@ public function testGetAllFields() { ...@@ -280,7 +280,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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment