Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\FunctionalTests\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 EntityViewModeXmlBasicAuthTest extends EntityViewModeResourceTestBase { | |
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 } |