protected static property WorkspaceResourceTestBase::$firstCreatedEntityId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::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/ workspaces/ tests/ src/ Functional/ EntityResource/ WorkspaceResourceTestBase.php, line 37
Class
- WorkspaceResourceTestBase
- Base class for workspace EntityResource tests.
Namespace
Drupal\Tests\workspaces\Functional\EntityResourceCode
protected static $firstCreatedEntityId = 'running_on_faith';