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