class DateFormatJsonBasicAuthTest in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\DateFormatJsonBasicAuthTest
- 9 core/tests/Drupal/FunctionalTests/Rest/DateFormatJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\DateFormatJsonBasicAuthTest
@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\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase
- class \Drupal\FunctionalTests\Rest\DateFormatJsonBasicAuthTest uses BasicAuthResourceTestTrait
- class \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of DateFormatJsonBasicAuthTest
File
- core/
tests/ Drupal/ FunctionalTests/ Rest/ DateFormatJsonBasicAuthTest.php, line 10
Namespace
Drupal\FunctionalTests\RestView source
class DateFormatJsonBasicAuthTest extends DateFormatResourceTestBase {
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';
}