diff -u b/core/modules/rdf/src/Tests/StandardProfileTest.php b/core/modules/rdf/src/Tests/StandardProfileTest.php --- b/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -260,6 +260,7 @@ // @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('max_325x325')->buildUrl($image_file->getFileUri()); $expected_value = array( 'type' => 'uri',