You are here

MenuHalJsonCookieTest.php in Drupal 8

File

core/modules/system/tests/src/Functional/Hal/MenuHalJsonCookieTest.php
View source
<?php

namespace Drupal\Tests\system\Functional\Hal;

use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\system\Functional\Rest\MenuResourceTestBase;

/**
 * @group hal
 */
class MenuHalJsonCookieTest extends MenuResourceTestBase {
  use CookieResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'hal',
  ];

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

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

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

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

}

Classes

Namesort descending Description
MenuHalJsonCookieTest @group hal