class NodeJsonBasicAuthTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest
- 9 core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest
@group rest
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\rest\Functional\ResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\node\Functional\Rest\NodeResourceTestBase
- class \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest uses BasicAuthResourceTestTrait
- class \Drupal\Tests\node\Functional\Rest\NodeResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of NodeJsonBasicAuthTest
File
- core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeJsonBasicAuthTest.php, line 10
Namespace
Drupal\Tests\node\Functional\RestView 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';
}