Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / hal / tests / src / Functional / EntityResource / View / ViewHalJsonBasicAuthTest.php
diff --git a/web/core/modules/hal/tests/src/Functional/EntityResource/View/ViewHalJsonBasicAuthTest.php b/web/core/modules/hal/tests/src/Functional/EntityResource/View/ViewHalJsonBasicAuthTest.php
new file mode 100644 (file)
index 0000000..1c5ffc2
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+
+namespace Drupal\Tests\hal\Functional\EntityResource\View;
+
+use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
+use Drupal\Tests\rest\Functional\EntityResource\View\ViewResourceTestBase;
+
+/**
+ * @group hal
+ */
+class ViewHalJsonBasicAuthTest extends ViewResourceTestBase {
+
+  use BasicAuthResourceTestTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['hal', 'basic_auth'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $format = 'hal_json';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $mimeType = 'application/hal+json';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $auth = 'basic_auth';
+
+}