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