protected static property UserResourceTestBase::$firstCreatedEntityId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php \Drupal\Tests\user\Functional\Rest\UserResourceTestBase::firstCreatedEntityId
- 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
Namespace
Drupal\Tests\user\Functional\RestCode
protected static $firstCreatedEntityId = 4;