Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / rest / tests / src / Functional / Hal / RestResourceConfigHalJsonAnonTest.php
diff --git a/web/core/modules/rest/tests/src/Functional/Hal/RestResourceConfigHalJsonAnonTest.php b/web/core/modules/rest/tests/src/Functional/Hal/RestResourceConfigHalJsonAnonTest.php
new file mode 100644 (file)
index 0000000..72ccd45
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+namespace Drupal\Tests\rest\Functional\Hal;
+
+use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
+use Drupal\Tests\rest\Functional\Rest\RestResourceConfigResourceTestBase;
+
+/**
+ * @group hal
+ */
+class RestResourceConfigHalJsonAnonTest extends RestResourceConfigResourceTestBase {
+
+  use AnonResourceTestTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['hal'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $format = 'hal_json';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $mimeType = 'application/hal+json';
+
+}