class BlockHalJsonBasicAuthTest

Same name and namespace in other branches
  1. 8.9.x core/modules/block/tests/src/Functional/Hal/BlockHalJsonBasicAuthTest.php \Drupal\Tests\block\Functional\Hal\BlockHalJsonBasicAuthTest

@group hal @group legacy

Hierarchy

Expanded class hierarchy of BlockHalJsonBasicAuthTest

File

core/modules/hal/tests/src/Functional/block/BlockHalJsonBasicAuthTest.php, line 12

Namespace

Drupal\Tests\hal\Functional\block
View source
class BlockHalJsonBasicAuthTest extends BlockResourceTestBase {
  use BasicAuthResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'hal',
    'basic_auth',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'hal_json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/hal+json';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

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