Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / workflows / tests / src / Functional / Rest / WorkflowXmlCookieTest.php
diff --git a/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php b/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowXmlCookieTest.php
new file mode 100644 (file)
index 0000000..50ea707
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+
+namespace Drupal\Tests\workflows\Functional\Rest;
+
+use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
+use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
+
+/**
+ * @group rest
+ */
+class WorkflowXmlCookieTest extends WorkflowResourceTestBase {
+
+  use CookieResourceTestTrait;
+  use XmlEntityNormalizationQuirksTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $format = 'xml';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $mimeType = 'text/xml; charset=UTF-8';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $auth = 'cookie';
+
+}