function ImageStyleResourceTestBase::imageStyleResourceTestBaseSkipTests
Same name in other branches
- 11.x 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.
@before
File
-
core/
modules/ image/ tests/ src/ Functional/ Rest/ ImageStyleResourceTestBase.php, line 44
Class
- ImageStyleResourceTestBase
- ResourceTestBase for ImageStyle entity.
Namespace
Drupal\Tests\image\Functional\RestCode
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.