You are here

protected static property PathAliasResourceTestBase::$secondCreatedEntityId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::secondCreatedEntityId
  2. 9 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::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/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php, line 37

Class

PathAliasResourceTestBase
Base class for path_alias EntityResource tests.

Namespace

Drupal\Tests\path_alias\Functional\Rest

Code

protected static $secondCreatedEntityId = 4;