only in patch2: unchanged: --- a/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -229,7 +229,7 @@ protected function doFrontPageRdfaTests() { // @todo Once the image points to the original instead of the processed // image, move this to testArticleProperties(). $image_file = $this->article->get('field_image')->entity; - $image_uri = ImageStyle::load('medium')->buildUrl($image_file->getFileUri()); + $image_uri = ImageStyle::load('max_325x325')->buildUrl($image_file->getFileUri()); $expected_value = array( 'type' => 'uri', 'value' => $image_uri, @@ -260,9 +260,10 @@ protected function doArticleRdfaTests() { // @todo Once the image points to the original instead of the processed // image, move this to testArticleProperties(). + $image_uri = ImageStyle::load('max_325x325')->buildUrl($image_file->getFileUri()); $expected_value = array( 'type' => 'uri', - 'value' => $this->imageUri, + 'value' => $image_uri, ); $this->assertTrue($graph->hasProperty($this->articleUri, 'http://schema.org/image', $expected_value), "Article image was found (schema:image)."); }