You are here

protected static property UserResourceTestBase::$firstCreatedEntityId in Drupal 8

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

See also

::testPost()

File

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

Class

UserResourceTestBase

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected static $firstCreatedEntityId = 4;