diff --git a/composer.json b/composer.json index 124eba3b14..96f9ac84f9 100644 --- a/composer.json +++ b/composer.json @@ -221,7 +221,7 @@ "symfony/phpunit-bridge": "^5.1", "symfony/process": "^6.3", "symfony/routing": "^6.3", - "va-gov/content-build": "^0.0.3407", + "va-gov/content-build": "^0.0.3408", "vlucas/phpdotenv": "^5.3", "webflo/drupal-finder": "^1.0.0", "webmozart/path-util": "^2.3", diff --git a/composer.lock b/composer.lock index 94b7566907..5d37de2892 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7d0171563d22043d0af8195712a84dba", + "content-hash": "f04196255d00c59b9ff6ae98b9916493", "packages": [ { "name": "asm89/stack-cors", @@ -25950,16 +25950,16 @@ }, { "name": "va-gov/content-build", - "version": "v0.0.3407", + "version": "v0.0.3408", "source": { "type": "git", "url": "https://github.com/department-of-veterans-affairs/content-build.git", - "reference": "32a22486a842d5b2f73fca475bc81fc67f175d0a" + "reference": "2f7853443043121d5a2cd0ac4dbf510b081f48de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/department-of-veterans-affairs/content-build/zipball/32a22486a842d5b2f73fca475bc81fc67f175d0a", - "reference": "32a22486a842d5b2f73fca475bc81fc67f175d0a", + "url": "https://api.github.com/repos/department-of-veterans-affairs/content-build/zipball/2f7853443043121d5a2cd0ac4dbf510b081f48de", + "reference": "2f7853443043121d5a2cd0ac4dbf510b081f48de", "shasum": "" }, "type": "node-project", @@ -25986,9 +25986,9 @@ "description": "Front-end for VA.gov. This repository contains the code that generates the www.va.gov website. It contains a Metalsmith static site builder that uses a Drupal CMS for content. This file is here to publish releases to https://packagist.org/packages/va-gov/content-build, so that the CMS CI system can install it and update it using standard composer processes, and so that we can run tests across both systems. See https://github.com/department-of-veterans-affairs/va.gov-cms for the CMS repo, and stand by for more documentation.", "support": { "issues": "https://github.com/department-of-veterans-affairs/content-build/issues", - "source": "https://github.com/department-of-veterans-affairs/content-build/tree/v0.0.3407" + "source": "https://github.com/department-of-veterans-affairs/content-build/tree/v0.0.3408" }, - "time": "2023-12-13T21:29:35+00:00" + "time": "2023-12-18T18:02:57+00:00" }, { "name": "vlucas/phpdotenv", diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml index f2e2b18809..2faae141df 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml @@ -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: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml index 531d9a4b83..d9dd6e810d 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml @@ -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: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml index 52434b307b..2ced31d564 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml @@ -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: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml index 8169f04917..3b8a076fdc 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml @@ -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: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml index deb281f67b..e48b291e0d 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml @@ -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: diff --git a/tests/phpunit/API/JsonApiRequestTest.php b/tests/phpunit/API/JsonApiRequestTest.php index f259ee52b8..80c324ba65 100644 --- a/tests/phpunit/API/JsonApiRequestTest.php +++ b/tests/phpunit/API/JsonApiRequestTest.php @@ -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'], ]; } @@ -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();