protected static property UserTest::$firstCreatedEntityId in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Functional/UserTest.php \Drupal\Tests\jsonapi\Functional\UserTest::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 ResourceTestBase::$firstCreatedEntityId
See also
::testPostIndividual()
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ UserTest.php, line 69
Class
- UserTest
- JSON:API integration test for the "User" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected static $firstCreatedEntityId = 4;