class WorkspaceXmlCookieTest

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/tests/src/Functional/Rest/WorkspaceXmlCookieTest.php \Drupal\Tests\workspaces\Functional\Rest\WorkspaceXmlCookieTest

Test workspace entities for XML requests.

@group workspaces

Hierarchy

Expanded class hierarchy of WorkspaceXmlCookieTest

File

core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceXmlCookieTest.php, line 13

Namespace

Drupal\Tests\workspaces\Functional\EntityResource
View source
class WorkspaceXmlCookieTest extends WorkspaceResourceTestBase {
  use CookieResourceTestTrait;
  use XmlEntityNormalizationQuirksTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'xml';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'text/xml; charset=UTF-8';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'cookie';
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * {@inheritdoc}
   */
  public function testPatchPath() {
    // Deserialization of the XML format is not supported.
    $this->markTestSkipped();
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.