Issue #3171149 by Feuerwagen, kostyashupenko: Set article content type to use "wide" image style within standard profile

merge-requests/1393/merge
Lee Rowlands 2021-11-22 08:37:35 +10:00
parent 1a8a51aca0
commit 5ec9c99db7
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
2 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ class StandardProfileTest extends BrowserTestBase {
// Set URIs.
// Image.
$image_file = $this->article->get('field_image')->entity;
$this->imageUri = ImageStyle::load('large')->buildUrl($image_file->getFileUri());
$this->imageUri = ImageStyle::load('wide')->buildUrl($image_file->getFileUri());
// Term.
$this->termUri = $this->term->toUrl('canonical', ['absolute' => TRUE])->toString();
// Article.

View File

@ -7,7 +7,7 @@ dependencies:
- field.field.node.article.comment
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.large
- image.style.wide
- node.type.article
module:
- comment
@ -40,7 +40,7 @@ content:
label: hidden
settings:
image_link: ''
image_style: large
image_style: wide
third_party_settings: { }
weight: -1
region: content