You are here

protected static property WorkspaceResourceTestBase::$firstCreatedEntityId in Drupal 9

Same name and namespace in other branches
  1. 8 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 41

Class

WorkspaceResourceTestBase
Base class for workspace EntityResource tests.

Namespace

Drupal\Tests\workspaces\Functional\EntityResource

Code

protected static $firstCreatedEntityId = 'running_on_faith';