protected static property UserResourceTestBase::$firstCreatedEntityId in Drupal 9
Same name and namespace in other branches
- 8 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 42
Class
Namespace
Drupal\Tests\user\Functional\RestCode
protected static $firstCreatedEntityId = 4;