EntityResourceTest::$nodeUuid

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php \Drupal\Tests\jsonapi\Kernel\Controller\EntityResourceTest::nodeUuid
  2. 8.9.x core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php \Drupal\Tests\jsonapi\Kernel\Controller\EntityResourceTest::nodeUuid
  3. 11.x core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php \Drupal\Tests\jsonapi\Kernel\Controller\EntityResourceTest::nodeUuid

Static UUIDs to use in testing.

Type: array

File

core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php, line 32

Class

EntityResourceTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21jsonapi%21src%21Controller%21EntityResource.php/class/EntityResource/10" title="Process all entity requests." class="local">\Drupal\jsonapi\Controller\EntityResource</a> @group jsonapi

Namespace

Drupal\Tests\jsonapi\Kernel\Controller

Code

protected static $nodeUuid = [
    1 => '83bc47ad-2c58-45e3-9136-abcdef111111',
    2 => '83bc47ad-2c58-45e3-9136-abcdef222222',
    3 => '83bc47ad-2c58-45e3-9136-abcdef333333',
    4 => '83bc47ad-2c58-45e3-9136-abcdef444444',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.