You are here

protected static property UserTest::$secondCreatedEntityId 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::secondCreatedEntityId

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

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

Type: string|int

Overrides ResourceTestBase::$secondCreatedEntityId

See also

::testPostIndividual()

File

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

Class

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

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $secondCreatedEntityId = 5;