Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
010940e4
Unverified
Commit
010940e4
authored
Aug 04, 2020
by
alexpott
Browse files
Issue
#3163162
by quietone: Fix error in d7 fixture field_config_instance table
(cherry picked from commit
ef06a015
)
parent
c4862966
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/migrate_drupal/tests/fixtures/drupal7.php
View file @
010940e4
...
...
@@ -5284,7 +5284,7 @@
))
->values(array(
'id' => '83',
'field_id' => '
54
',
'field_id' => '
1
',
'field_name' => 'comment_body',
'entity_type' => 'comment',
'bundle' => 'comment_node_et',
core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
View file @
010940e4
...
...
@@ -283,7 +283,7 @@ public function testGetAllFields() {
$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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment