rdf-2.1.0/tests/src/Functional/Rest/RdfMappingJsonBasicAuthTest.php

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

namespace Drupal\Tests\rdf\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * Tests JSON Basic authentication for RDF mappings.
 *
 * @group rest
 */
class RdfMappingJsonBasicAuthTest extends RdfMappingResourceTestBase {

  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