EntityTestBundleHalJsonCookieTest.php

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

Namespace

Drupal\Tests\entity_test\Functional\Hal

File

core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestBundleHalJsonCookieTest.php

View source
<?php

namespace Drupal\Tests\entity_test\Functional\Hal;

use Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;

/**
 * @group hal
 */
class EntityTestBundleHalJsonCookieTest extends EntityTestBundleResourceTestBase {
    use CookieResourceTestTrait;
    
    /**
     * {@inheritdoc}
     */
    public static $modules = [
        'hal',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    protected static $auth = 'cookie';
    
    /**
     * {@inheritdoc}
     */
    protected static $format = 'hal_json';
    
    /**
     * {@inheritdoc}
     */
    protected static $mimeType = 'application/hal+json';

}

Classes

Title Deprecated Summary
EntityTestBundleHalJsonCookieTest @group hal

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