public function EntityResourceTest::patchIndividualProvider in JSON:API 8
Provides data for the testPatchIndividual.
Return value
array The input data for the test function.
File
- tests/
src/ Kernel/ Controller/ EntityResourceTest.php, line 524
Class
- EntityResourceTest
- @coversDefaultClass \Drupal\jsonapi\Controller\EntityResource @group jsonapi @group legacy
Namespace
Drupal\Tests\jsonapi\Kernel\ControllerCode
public function patchIndividualProvider() {
return [
[
[
'type' => 'article',
'title' => 'PATCHED',
'field_relationships' => [
[
'target_id' => 1,
],
],
],
],
];
}