Pull merge.
[yaffs-website] / web / core / modules / workspaces / tests / src / Functional / EntityResource / WorkspaceXmlBasicAuthTest.php
1 <?php
2
3 namespace Drupal\Tests\workspaces\Functional\EntityResource;
4
5 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
6 use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
7
8 /**
9  * Test workspace entities for XML requests with cookie authentication.
10  *
11  * @group workspaces
12  */
13 class WorkspaceXmlBasicAuthTest extends WorkspaceResourceTestBase {
14
15   use BasicAuthResourceTestTrait;
16   use XmlEntityNormalizationQuirksTrait;
17
18   /**
19    * {@inheritdoc}
20    */
21   public static $modules = ['basic_auth'];
22
23   /**
24    * {@inheritdoc}
25    */
26   protected static $format = 'xml';
27
28   /**
29    * {@inheritdoc}
30    */
31   protected static $mimeType = 'text/xml; charset=UTF-8';
32
33   /**
34    * {@inheritdoc}
35    */
36   protected static $auth = 'basic_auth';
37
38   /**
39    * {@inheritdoc}
40    */
41   public function testPatchPath() {
42     // Deserialization of the XML format is not supported.
43     $this->markTestSkipped();
44   }
45
46 }