You are here

protected static property RoleXmlBasicAuthTest::$format in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php \Drupal\Tests\user\Functional\Rest\RoleXmlBasicAuthTest::format
  2. 10 core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php \Drupal\Tests\user\Functional\Rest\RoleXmlBasicAuthTest::format

The format to use in this test.

A format is the combination of a certain normalizer and a certain serializer.

(The default is 'json' because that doesn't depend on any module.)

Type: string

Overrides ResourceTestBase::$format

See also

https://www.drupal.org/developing/api/8/serialization

File

core/modules/user/tests/src/Functional/Rest/RoleXmlBasicAuthTest.php, line 29

Class

RoleXmlBasicAuthTest
@group rest

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected static $format = 'xml';