Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media / tests / src / Functional / Rest / MediaTypeJsonBasicAuthTest.php
1 <?php
2
3 namespace Drupal\Tests\media\Functional\Rest;
4
5 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
6
7 /**
8  * @group rest
9  */
10 class MediaTypeJsonBasicAuthTest extends MediaTypeResourceTestBase {
11
12   use BasicAuthResourceTestTrait;
13
14   /**
15    * {@inheritdoc}
16    */
17   public static $modules = ['basic_auth'];
18
19   /**
20    * {@inheritdoc}
21    */
22   protected static $format = 'json';
23
24   /**
25    * {@inheritdoc}
26    */
27   protected static $mimeType = 'application/json';
28
29   /**
30    * {@inheritdoc}
31    */
32   protected static $auth = 'basic_auth';
33
34 }