VocabularyJsonAnonTest.php

Same filename and directory in other branches
  1. 11.x core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
  2. 10 core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
  3. 8.9.x core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php
  4. main core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php

Namespace

Drupal\Tests\taxonomy\Functional\Rest

File

core/modules/taxonomy/tests/src/Functional/Rest/VocabularyJsonAnonTest.php

View source
<?php

namespace Drupal\Tests\taxonomy\Functional\Rest;

use Drupal\Tests\rest\Functional\AnonResourceTestTrait;

/**
 * @group rest
 */
class VocabularyJsonAnonTest extends VocabularyResourceTestBase {
  use AnonResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * Disable the GET test coverage due to bug in taxonomy module.
   * @todo Fix in https://www.drupal.org/node/2805281: remove this override.
   */
  public function testGet() {
    $this->markTestSkipped();
  }

}

Classes

Title Deprecated Summary
VocabularyJsonAnonTest @group rest

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