facets-8.x-1.x-dev/tests/src/Functional/Rest/FacetJsonBasicAuthTest.php

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

namespace Drupal\Tests\facets\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * Rest test for json, basic auth, index entity.
 *
 * @group facets
 */
class FacetJsonBasicAuthTest extends FacetResourceTestBase {

  use BasicAuthResourceTestTrait;

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

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

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

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

}

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

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