You are here

protected static property UserTest::$secondCreatedEntityId in JSON:API 8.2

Same name and namespace in other branches
  1. 8 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

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 $secondCreatedEntityId = 5;