Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
70c84d09
Unverified
Commit
70c84d09
authored
Aug 04, 2020
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3163162
by quietone: Fix error in d7 fixture field_config_instance table
(cherry picked from commit
ef06a015
)
parent
5ca99d59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
core/modules/migrate_drupal/tests/fixtures/drupal7.php
core/modules/migrate_drupal/tests/fixtures/drupal7.php
+1
-1
core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
...migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
+1
-1
No files found.
core/modules/migrate_drupal/tests/fixtures/drupal7.php
View file @
70c84d09
...
...
@@ -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 @
70c84d09
...
...
@@ -280,7 +280,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