class FileUploadJsonBasicAuthTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php \Drupal\Tests\file\Functional\FileUploadJsonBasicAuthTest
- 9 core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php \Drupal\Tests\file\Functional\FileUploadJsonBasicAuthTest
@group file
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\FileUploadResourceTestBase
- class \Drupal\Tests\file\Functional\FileUploadJsonBasicAuthTest uses BasicAuthResourceTestTrait
- class \Drupal\Tests\rest\Functional\FileUploadResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of FileUploadJsonBasicAuthTest
File
- core/
modules/ file/ tests/ src/ Functional/ FileUploadJsonBasicAuthTest.php, line 11
Namespace
Drupal\Tests\file\FunctionalView source
class FileUploadJsonBasicAuthTest extends FileUploadResourceTestBase {
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';
}