knowledge-8.x-1.x-dev/tests/src/Functional/Rest/KnowledgeTypeXmlCookieTest.php

tests/src/Functional/Rest/KnowledgeTypeXmlCookieTest.php
<?php

namespace Drupal\Tests\knowledge\Functional\Rest;

use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;

/**
 * Tests knowledge type from Cookie.
 *
 * @group rest
 */
class KnowledgeTypeXmlCookieTest extends KnowledgeTypeResourceTestBase {

  use CookieResourceTestTrait;
  use XmlEntityNormalizationQuirksTrait;

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

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'text/xml; charset=UTF-8';

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

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

}

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

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