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