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