ContactFormHalJsonAnonTest.php in Drupal 9
File
core/modules/contact/tests/src/Functional/Hal/ContactFormHalJsonAnonTest.php
View source
<?php
namespace Drupal\Tests\contact\Functional\Hal;
use Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
class ContactFormHalJsonAnonTest extends ContactFormResourceTestBase {
use AnonResourceTestTrait;
protected static $modules = [
'hal',
];
protected $defaultTheme = 'stark';
protected static $format = 'hal_json';
protected static $mimeType = 'application/hal+json';
}