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