public function EntityResourceTest::patchIndividualConfigFailedProvider in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 tests/src/Kernel/Controller/EntityResourceTest.php \Drupal\Tests\jsonapi_extras\Kernel\Controller\EntityResourceTest::patchIndividualConfigFailedProvider()
Provides data for the testPatchIndividualFailedConfig.
Return value
array The input data for the test function.
File
- tests/
src/ Kernel/ Controller/ EntityResourceTest.php, line 164
Class
- EntityResourceTest
- @coversDefaultClass \Drupal\jsonapi\Controller\EntityResource @covers \Drupal\jsonapi_extras\Normalizer\ConfigEntityNormalizer @group jsonapi_extras @group legacy
Namespace
Drupal\Tests\jsonapi_extras\Kernel\ControllerCode
public function patchIndividualConfigFailedProvider() {
return [
[
[
'uuid' => 'PATCHED',
],
],
[
[
'type' => 'article',
'status' => FALSE,
],
],
];
}