EntityFormDisplayHalJsonCookieTest.php 680 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Drupal\FunctionalTests\Hal;
  3. use Drupal\FunctionalTests\Rest\EntityFormDisplayResourceTestBase;
  4. use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
  5. /**
  6. * @group hal
  7. */
  8. class EntityFormDisplayHalJsonCookieTest extends EntityFormDisplayResourceTestBase {
  9. use CookieResourceTestTrait;
  10. /**
  11. * {@inheritdoc}
  12. */
  13. public static $modules = ['hal'];
  14. /**
  15. * {@inheritdoc}
  16. */
  17. protected $defaultTheme = 'stark';
  18. /**
  19. * {@inheritdoc}
  20. */
  21. protected static $format = 'hal_json';
  22. /**
  23. * {@inheritdoc}
  24. */
  25. protected static $mimeType = 'application/hal+json';
  26. /**
  27. * {@inheritdoc}
  28. */
  29. protected static $auth = 'cookie';
  30. }