Skip to content
Snippets Groups Projects

Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity

Open Stefanos Petrakis requested to merge issue/drupal-3130107:3130107-add-unit-test into 10.1.x
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
  • a5515d84
    Issue #3099878 by Martijn de Wit, lauriii, mel-miller, _utsavsharma,... · a5515d84
    Jess authored
    Issue #3099878 by Martijn de Wit, lauriii, mel-miller, _utsavsharma, eric.chenchao, phenaproxima, seanB, xjm, Sivaji_Ganesh_Jojodae, idebr, ckaotik, morganlyndel: Media Library: Default value for data-align attribute should not be center
@@ -205,11 +205,12 @@ public function testButton() {
$expected_attributes = [
'data-entity-type' => 'media',
'data-entity-uuid' => $this->media->uuid(),
'data-align' => 'center',
];
foreach ($expected_attributes as $name => $expected) {
$this->assertSame($expected, $drupal_media->getAttribute($name));
}
// Ensure that by default, data-align attribute is not set.
$this->assertFalse($drupal_media->hasAttribute('data-align'));
}
/**
Loading