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