You are here

class NodeJsonBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest
  2. 9 core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of NodeJsonBasicAuthTest

File

core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\node\Functional\Rest
View source
class NodeJsonBasicAuthTest extends NodeResourceTestBase {
  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';

}

Members