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