aggregator-2.x-dev/tests/src/Functional/Rest/ItemJsonBasicAuthTest.php

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

namespace Drupal\Tests\aggregator\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * @group rest
 */
class ItemJsonBasicAuthTest extends ItemResourceTestBase {

  use BasicAuthResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  protected static $modules = ['basic_auth'];

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

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

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';

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

}

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

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