d53b836ca84fa40aa186e3d731436cb6d919d116
[yaffs-website] / web / core / modules / hal / tests / src / Functional / EntityResource / Vocabulary / VocabularyHalJsonBasicAuthTest.php
1 <?php
2
3 namespace Drupal\Tests\hal\Functional\EntityResource\Vocabulary;
4
5 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
6 use Drupal\Tests\rest\Functional\EntityResource\Vocabulary\VocabularyResourceTestBase;
7
8 /**
9  * @group hal
10  */
11 class VocabularyHalJsonBasicAuthTest extends VocabularyResourceTestBase {
12
13   use BasicAuthResourceTestTrait;
14
15   /**
16    * {@inheritdoc}
17    */
18   public static $modules = ['hal', 'basic_auth'];
19
20   /**
21    * {@inheritdoc}
22    */
23   protected static $format = 'hal_json';
24
25   /**
26    * {@inheritdoc}
27    */
28   protected static $mimeType = 'application/hal+json';
29
30   /**
31    * {@inheritdoc}
32    */
33   protected static $auth = 'basic_auth';
34
35 }