hal-1.0.0/tests/src/Functional/entity_test/EntityTestBundleHalJsonCookieTest.php

tests/src/Functional/entity_test/EntityTestBundleHalJsonCookieTest.php
<?php

namespace Drupal\Tests\hal\Functional\entity_test;

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

/**
 * @group hal
 */
class EntityTestBundleHalJsonCookieTest extends EntityTestBundleResourceTestBase {

  use CookieResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  protected 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';

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc