class TourXmlBasicAuthTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php \Drupal\Tests\tour\Functional\Rest\TourXmlBasicAuthTest
- 9 core/modules/tour/tests/src/Functional/Rest/TourXmlBasicAuthTest.php \Drupal\Tests\tour\Functional\Rest\TourXmlBasicAuthTest
@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\Tests\tour\Functional\Rest\TourResourceTestBase
- class \Drupal\Tests\tour\Functional\Rest\TourXmlBasicAuthTest uses BasicAuthResourceTestTrait, XmlEntityNormalizationQuirksTrait
- class \Drupal\Tests\tour\Functional\Rest\TourResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of TourXmlBasicAuthTest
File
- core/
modules/ tour/ tests/ src/ Functional/ Rest/ TourXmlBasicAuthTest.php, line 11
Namespace
Drupal\Tests\tour\Functional\RestView source
class TourXmlBasicAuthTest extends TourResourceTestBase {
use BasicAuthResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
/**
* {@inheritdoc}
*/
protected static $modules = [
'basic_auth',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected static $format = 'xml';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'text/xml; charset=UTF-8';
/**
* {@inheritdoc}
*/
protected static $auth = 'basic_auth';
}