MenuHalJsonAnonTest.php

Same filename in other branches
  1. 9 core/modules/hal/tests/src/Functional/system/MenuHalJsonAnonTest.php

Namespace

Drupal\Tests\system\Functional\Hal

File

core/modules/system/tests/src/Functional/Hal/MenuHalJsonAnonTest.php

View source
<?php

namespace Drupal\Tests\system\Functional\Hal;

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

/**
 * @group hal
 */
class MenuHalJsonAnonTest extends MenuResourceTestBase {
    use AnonResourceTestTrait;
    
    /**
     * {@inheritdoc}
     */
    public static $modules = [
        'hal',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    protected static $format = 'hal_json';
    
    /**
     * {@inheritdoc}
     */
    protected static $mimeType = 'application/hal+json';

}

Classes

Title Deprecated Summary
MenuHalJsonAnonTest @group hal

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.