You are here

EntityViewModeJsonCookieTest.php in Drupal 9

File

core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.php
View source
<?php

namespace Drupal\FunctionalTests\Rest;

use Drupal\Tests\rest\Functional\CookieResourceTestTrait;

/**
 * @group rest
 */
class EntityViewModeJsonCookieTest extends EntityViewModeResourceTestBase {
  use CookieResourceTestTrait;

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

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';

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

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

}

Classes

Namesort descending Description
EntityViewModeJsonCookieTest @group rest