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