BaseFieldOverrideJsonBasicAuthTest.php 624 B

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