FileUploadJsonBasicAuthTest.php in Drupal 8
File
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php
View source
<?php
namespace Drupal\Tests\file\Functional;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\FileUploadResourceTestBase;
class FileUploadJsonBasicAuthTest extends FileUploadResourceTestBase {
use BasicAuthResourceTestTrait;
public static $modules = [
'basic_auth',
];
protected $defaultTheme = 'stark';
protected static $format = 'json';
protected static $mimeType = 'application/json';
protected static $auth = 'basic_auth';
}