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