Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media / tests / src / Functional / Hal / MediaHalJsonBasicAuthTest.php
diff --git a/web/core/modules/media/tests/src/Functional/Hal/MediaHalJsonBasicAuthTest.php b/web/core/modules/media/tests/src/Functional/Hal/MediaHalJsonBasicAuthTest.php
new file mode 100644 (file)
index 0000000..73d37b3
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\Tests\media\Functional\Hal;
+
+use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
+
+/**
+ * @group hal
+ */
+class MediaHalJsonBasicAuthTest extends MediaHalJsonAnonTest {
+
+  use BasicAuthResourceTestTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['basic_auth'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $auth = 'basic_auth';
+
+}