Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / search / tests / src / Functional / Hal / SearchPageHalJsonCookieTest.php
diff --git a/web/core/modules/search/tests/src/Functional/Hal/SearchPageHalJsonCookieTest.php b/web/core/modules/search/tests/src/Functional/Hal/SearchPageHalJsonCookieTest.php
new file mode 100644 (file)
index 0000000..a09fa5f
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+
+namespace Drupal\Tests\search\Functional\Hal;
+
+use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
+use Drupal\Tests\search\Functional\Rest\SearchPageResourceTestBase;
+
+/**
+ * @group hal
+ */
+class SearchPageHalJsonCookieTest extends SearchPageResourceTestBase {
+
+  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';
+
+}