DateFormatHalJsonCookieTest.php 590 B

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