ContactFormJsonAnonTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\contact\Functional\RestFile
core/modules/contact/tests/src/Functional/Rest/ContactFormJsonAnonTest.phpView source
<?php
namespace Drupal\Tests\contact\Functional\Rest;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
/**
* @group rest
*/
class ContactFormJsonAnonTest extends ContactFormResourceTestBase {
use AnonResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Classes
Name | Description |
---|---|
ContactFormJsonAnonTest | @group rest |