Issue #3382423: oEmbed field formatter creates wrong hash when leaving empty dimensions
1 open thread
Merge request reports
Activity
267 ResourceController::setResourceUrl('https://vimeo.com/7073899', $this->getFixturesDirectory() . '/video_vimeo.json'); 268 UrlResolver::setEndpointUrl('https://vimeo.com/7073899', 'video_vimeo.json'); 269 270 $entity = Media::create([ 271 'bundle' => $media_type->id(), 272 $source_field->getName() => 'https://vimeo.com/7073899', 273 ]); 274 $entity->save(); 275 276 $this->drupalGet($entity->toUrl()); 277 $assert = $this->assertSession(); 278 $assert->statusCodeEquals(200); 279 // Check that the width and height attributes are not empty. 280 $element = $assert->elementExists('css', 'iframe'); 281 $this->assertNotEmpty($element->getAttribute('width')); 282 $this->assertNotEmpty($element->getAttribute('height')); changed this line in version 4 of the diff
added 29 commits
-
e2298c10...05e455ed - 28 commits from branch
project:11.x
- 866df07c - Merge branch drupal:11.x into 3382423-11.x
-
e2298c10...05e455ed - 28 commits from branch
added 1 commit
- bd450cbb - Extend existing test to cover formatter's dimensions settings, in place of new standalone test.
Please register or sign in to reply