You are here

RestResourceConfigJsonBasicAuthTest.php in Drupal 10

File

core/modules/rest/tests/src/Functional/Rest/RestResourceConfigJsonBasicAuthTest.php
View source
<?php

namespace Drupal\Tests\rest\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * @group rest
 */
class RestResourceConfigJsonBasicAuthTest extends RestResourceConfigResourceTestBase {
  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';

}

Classes

Namesort descending Description
RestResourceConfigJsonBasicAuthTest @group rest