You are here

class EntityTestXmlBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestXmlBasicAuthTest
  2. 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestXmlBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of EntityTestXmlBasicAuthTest

File

core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestXmlBasicAuthTest.php, line 11

Namespace

Drupal\Tests\entity_test\Functional\Rest
View source
class EntityTestXmlBasicAuthTest extends EntityTestResourceTestBase {
  use BasicAuthResourceTestTrait;
  use XmlEntityNormalizationQuirksTrait;

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'basic_auth',
  ];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
   */
  protected static $format = 'xml';

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'text/xml; charset=UTF-8';

  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

Members

Namesort descending Modifiers Type Description Overrides
BasicAuthResourceTestTrait::assertAuthenticationEdgeCases protected function 1
BasicAuthResourceTestTrait::assertResponseWhenMissingAuthentication protected function 1
BasicAuthResourceTestTrait::getAuthenticationRequestOptions protected function
EntityTestXmlBasicAuthTest::$auth protected static property
EntityTestXmlBasicAuthTest::$defaultTheme protected property
EntityTestXmlBasicAuthTest::$format protected static property
EntityTestXmlBasicAuthTest::$mimeType protected static property
EntityTestXmlBasicAuthTest::$modules protected static property
XmlEntityNormalizationQuirksTrait::applyXmlConfigEntityDecodingQuirks protected function Applies the XML config entity encoding quirks that remain after decoding.
XmlEntityNormalizationQuirksTrait::applyXmlFieldDecodingQuirks protected function Applies the XML entity field encoding quirks that remain after decoding.
XmlEntityNormalizationQuirksTrait::getExpectedNormalizedEntity protected function
XmlEntityNormalizationQuirksTrait::testPatch public function
XmlEntityNormalizationQuirksTrait::testPost public function
XmlNormalizationQuirksTrait::applyXmlDecodingQuirks protected function Applies the XML encoding quirks that remain after decoding.