You are here

protected static property UserTest::$firstCreatedEntityId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/UserTest.php \Drupal\Tests\jsonapi\Functional\UserTest::firstCreatedEntityId

The entity ID for the first created entity in testPost().

The default value of 2 should work for most content entities.

Type: string|int

Overrides ResourceTestBase::$firstCreatedEntityId

See also

::testPostIndividual()

File

core/modules/jsonapi/tests/src/Functional/UserTest.php, line 69

Class

UserTest
JSON:API integration test for the "User" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $firstCreatedEntityId = 4;