function ImageStyleResourceTestBase::imageStyleResourceTestBaseSkipTests

Same name in other branches
  1. 10 core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php \Drupal\Tests\image\Functional\Rest\ImageStyleResourceTestBase::imageStyleResourceTestBaseSkipTests()

Marks some tests as skipped because XML cannot be deserialized.

File

core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php, line 43

Class

ImageStyleResourceTestBase
ResourceTestBase for ImageStyle entity.

Namespace

Drupal\Tests\image\Functional\Rest

Code

public function imageStyleResourceTestBaseSkipTests() : void {
    if ($this->name() === 'testGet' && static::$format === 'xml') {
        // @todo Remove this method override in https://www.drupal.org/node/2905655
        $this->markTestSkipped('XML encoder does not support UUIDs as keys: makes ImageStyle config entity XML serialization crash');
    }
}

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