tour-2.0.x-dev/tests/src/Functional/Rest/TourJsonBasicAuthTest.php

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

namespace Drupal\Tests\tour\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * Tests tour integration with restAPI, basic auth test.
 *
 * @group rest
 */
class TourJsonBasicAuthTest extends TourResourceTestBase {

  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