EntityTestBundleHalJsonAnonTest.php

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestBundleHalJsonAnonTest.php

Namespace

Drupal\Tests\hal\Functional\entity_test

File

core/modules/hal/tests/src/Functional/entity_test/EntityTestBundleHalJsonAnonTest.php

View source
<?php

namespace Drupal\Tests\hal\Functional\entity_test;

use Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase;
use Drupal\Tests\hal\Functional\EntityResource\HalEntityNormalizationTrait;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;

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

}

Classes

Title Deprecated Summary
EntityTestBundleHalJsonAnonTest @group hal @group legacy

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