class EntityFormModeJsonBasicAuthTest

Tests Entity Form Mode Json Basic Auth.

Attributes

#[Group('rest')]

Hierarchy

  • class \Drupal\FunctionalTests\Rest\EntityFormModeJsonBasicAuthTest uses \Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait implements \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase

Expanded class hierarchy of EntityFormModeJsonBasicAuthTest

File

core/tests/Drupal/FunctionalTests/Rest/EntityFormModeJsonBasicAuthTest.php, line 13

Namespace

Drupal\FunctionalTests\Rest
View source
class EntityFormModeJsonBasicAuthTest extends EntityFormModeResourceTestBase {
  use BasicAuthResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'basic_auth',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.