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