You are here

protected static property UserResourceTestBase::$secondCreatedEntityId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php \Drupal\Tests\user\Functional\Rest\UserResourceTestBase::secondCreatedEntityId
  2. 10 core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php \Drupal\Tests\user\Functional\Rest\UserResourceTestBase::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 EntityResourceTestBase::$secondCreatedEntityId

See also

::testPost()

File

core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php, line 47

Class

UserResourceTestBase

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected static $secondCreatedEntityId = 5;