Skip to content

Commit

Permalink
add field_last_saved_by_an_editor back to JSON:API responses for cert…
Browse files Browse the repository at this point in the history
…ain resources (#16525)
  • Loading branch information
alexfinnarn authored Dec 20, 2023
1 parent 5431e55 commit 8dd24b1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ resourceFields:
enhancer:
id: ''
field_last_saved_by_an_editor:
disabled: true
disabled: false
fieldName: field_last_saved_by_an_editor
publicName: field_last_saved_by_an_editor
enhancer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ resourceFields:
enhancer:
id: ''
field_last_saved_by_an_editor:
disabled: true
disabled: false
fieldName: field_last_saved_by_an_editor
publicName: field_last_saved_by_an_editor
enhancer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ resourceFields:
enhancer:
id: ''
field_last_saved_by_an_editor:
disabled: true
disabled: false
fieldName: field_last_saved_by_an_editor
publicName: field_last_saved_by_an_editor
enhancer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ resourceFields:
enhancer:
id: ''
field_last_saved_by_an_editor:
disabled: true
disabled: false
fieldName: field_last_saved_by_an_editor
publicName: field_last_saved_by_an_editor
enhancer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ resourceFields:
enhancer:
id: ''
field_last_saved_by_an_editor:
disabled: true
disabled: false
fieldName: field_last_saved_by_an_editor
publicName: field_last_saved_by_an_editor
enhancer:
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/API/JsonApiRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function routeProvider() {
['/jsonapi/node/event'],
['/jsonapi/node/event_listing'],
['/jsonapi/node/news_story'],
['/jsonapi/node/person_profile'],
['/jsonapi/node/story_listing'],
];
}
Expand Down Expand Up @@ -48,7 +49,6 @@ public function testJsonApiResponseExcludesFields($route) {
'menu_link',
'content_translation_source',
'content_translation_outdate',
'field_last_saved_by_an_editor',
];

$user = $this->createUser();
Expand Down

0 comments on commit 8dd24b1

Please sign in to comment.