You are here

class BlockXmlCookieTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of BlockXmlCookieTest

File

core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php, line 11

Namespace

Drupal\Tests\block\Functional\Rest
View source
class BlockXmlCookieTest extends BlockResourceTestBase {
  use CookieResourceTestTrait;
  use XmlEntityNormalizationQuirksTrait;

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

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
BlockResourceTestBase::$entity protected property
BlockResourceTestBase::$entityTypeId protected static property
BlockResourceTestBase::$modules protected static property 2
BlockResourceTestBase::createEntity protected function
BlockResourceTestBase::getExpectedCacheContexts protected function
BlockResourceTestBase::getExpectedCacheTags protected function
BlockResourceTestBase::getExpectedNormalizedEntity protected function
BlockResourceTestBase::getExpectedUnauthorizedAccessCacheability protected function @todo Fix this in https://www.drupal.org/node/2820315.
BlockResourceTestBase::getExpectedUnauthorizedAccessMessage protected function
BlockResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability protected function
BlockResourceTestBase::getNormalizedPostEntity protected function
BlockResourceTestBase::setUpAuthorization protected function
BlockXmlCookieTest::$auth protected static property
BlockXmlCookieTest::$defaultTheme protected property
BlockXmlCookieTest::$format protected static property
BlockXmlCookieTest::$mimeType protected static property
CookieResourceTestTrait::$csrfToken protected property The CSRF token.
CookieResourceTestTrait::$logoutToken protected property The logout token.
CookieResourceTestTrait::$sessionCookie protected property The session cookie.
CookieResourceTestTrait::assertAuthenticationEdgeCases protected function
CookieResourceTestTrait::assertResponseWhenMissingAuthentication protected function
CookieResourceTestTrait::getAuthenticationRequestOptions protected function
CookieResourceTestTrait::initAuthentication protected function