You are here

BlockXmlCookieTest.php in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php

File

core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php
View source
<?php

namespace Drupal\Tests\block\Functional\Rest;

use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;

/**
 * @group rest
 */
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 = 'classy';

}

Classes

Namesort descending Description
BlockXmlCookieTest @group rest