Mercurial > hg > cmmr2012-drupal-site
comparison core/tests/Drupal/FunctionalTests/Rest/EntityViewModeXmlBasicAuthTest.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
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 } |