UserHalJsonBasicAuthTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\user\Functional\HalFile
core/modules/user/tests/src/Functional/Hal/UserHalJsonBasicAuthTest.phpView source
<?php
namespace Drupal\Tests\user\Functional\Hal;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
/**
* @group hal
*/
class UserHalJsonBasicAuthTest extends UserHalJsonAnonTest {
use BasicAuthResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $modules = [
'basic_auth',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected static $auth = 'basic_auth';
}
Classes
Name | Description |
---|---|
UserHalJsonBasicAuthTest | @group hal |