a79c3fd056acbcf8ba9d52cbb5eee7bdc91c7fe3
[yaffs-website] / web / core / modules / hal / tests / src / Functional / EntityResource / EntityViewMode / EntityViewModeHalJsonBasicAuthTest.php
1 <?php
2
3 namespace Drupal\Tests\hal\Functional\EntityResource\EntityViewMode;
4
5 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
6 use Drupal\Tests\rest\Functional\EntityResource\EntityViewMode\EntityViewModeResourceTestBase;
7
8 /**
9  * @group hal
10  */
11 class EntityViewModeHalJsonBasicAuthTest extends EntityViewModeResourceTestBase {
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 }