You are here

protected static property WorkspaceResourceTestBase::$secondCreatedEntityId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::secondCreatedEntityId
  2. 9 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::secondCreatedEntityId

The entity ID for the second created entity in testPost().

The default value of 3 should work for most content entities.

Type: string|int

Overrides EntityResourceTestBase::$secondCreatedEntityId

See also

::testPost()

File

core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php, line 46

Class

WorkspaceResourceTestBase
Base class for workspace EntityResource tests.

Namespace

Drupal\Tests\workspaces\Functional\EntityResource

Code

protected static $secondCreatedEntityId = 'running_on_faith_2';