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
ef06a015
Unverified
Commit
ef06a015
authored
Aug 04, 2020
by
alexpott
Browse files
Issue
#3163162
by quietone: Fix error in d7 fixture field_config_instance table
parent
72c276f6
Changes
2
Show whitespace changes
Inline
Side-by-side
core/modules/migrate_drupal/tests/fixtures/drupal7.php
View file @
ef06a015
...
...
@@ -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 @
ef06a015
...
...
@@ -282,7 +282,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
)
{
...
...
alexpott
@alexpott
mentioned in commit
70c84d09
·
Aug 04, 2020
mentioned in commit
70c84d09
mentioned in commit 70c84d095f3f316da81cae91beef3364073fd7b8
Toggle commit list
alexpott
@alexpott
mentioned in commit
010940e4
·
Aug 04, 2020
mentioned in commit
010940e4
mentioned in commit 010940e4790ab89db10334461e8869fcf98067cb
Toggle commit list
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