diff --git a/core/drupalci.yml b/core/drupalci.yml index cd92d8102d..20310f039f 100644 --- a/core/drupalci.yml +++ b/core/drupalci.yml @@ -3,9 +3,9 @@ # https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing _phpunit_testgroups_to_execute: &testgroups # Default: all of Drupal core's test suite runs. - testgroups: '--all' + #testgroups: '--all' # Alternative: run only the tests for one particular module. - # testgroups: '--module ckeditor5' + testgroups: '--module jsonapi' build: assessment: testing: diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php index b22b04dbc0..68242c7261 100644 --- a/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php +++ b/core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php @@ -1435,6 +1435,11 @@ public function testPatchInvalidFieldPropertyFromIssue3127883() { 'value' => 'Hello World … still.', // Intentional typo in the property name! 'form' => 'plain_text', + // Another intentional typo. + // cSpell:disable-next-line + 'sumary' => 'Boring old "Hello World".', + // And finally, one that is completely absurd. + 'foobarbaz' => '', ], ], ], @@ -1446,7 +1451,8 @@ public function testPatchInvalidFieldPropertyFromIssue3127883() { $data = Json::decode((string) $response->getBody()); $this->assertSame(422, $response->getStatusCode()); $this->assertNotNull($data); - $this->assertSame("The property 'form' does not exist on the 'body' field of type 'text_with_summary'.", $data['errors'][0]['detail']); + // cSpell:disable-next-line + $this->assertSame("The properties 'form', 'sumary', 'foobarbaz' do not exist on the 'body' field of type 'text_with_summary'. Did you mean 'format', 'summary'? (Writable properties are: 'value', 'format', 'summary'.)", $data['errors'][0]['detail']); } }