You are here

protected property EntitySerializationTest::$user in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::user
  2. 9 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::user

The test user.

Type: \Drupal\user\Entity\User

File

core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php, line 57

Class

EntitySerializationTest
Tests that entities can be serialized to supported core formats.

Namespace

Drupal\Tests\serialization\Kernel

Code

protected $user;