Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / user / tests / src / Functional / Rest / UserXmlBasicAuthTest.php
1 <?php
2
3 namespace Drupal\Tests\user\Functional\Rest;
4
5 use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
6 use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
7
8 /**
9  * @group rest
10  */
11 class UserXmlBasicAuthTest extends UserResourceTestBase {
12
13   use BasicAuthResourceTestTrait;
14   use XmlEntityNormalizationQuirksTrait;
15
16   /**
17    * {@inheritdoc}
18    */
19   public static $modules = ['basic_auth'];
20
21   /**
22    * {@inheritdoc}
23    */
24   protected static $format = 'xml';
25
26   /**
27    * {@inheritdoc}
28    */
29   protected static $mimeType = 'text/xml; charset=UTF-8';
30
31   /**
32    * {@inheritdoc}
33    */
34   protected static $auth = 'basic_auth';
35
36   /**
37    * {@inheritdoc}
38    */
39   public function testPatchDxForSecuritySensitiveBaseFields() {
40     // Deserialization of the XML format is not supported.
41     $this->markTestSkipped();
42   }
43
44   /**
45    * {@inheritdoc}
46    */
47   public function testPatchSecurityOtherUser() {
48     // Deserialization of the XML format is not supported.
49     $this->markTestSkipped();
50   }
51
52 }