@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * Tests item creation and thumbnail |
88 | 88 | */ |
89 | - public function testMediaBundleItemCreation(){ |
|
89 | + public function testMediaBundleItemCreation() { |
|
90 | 90 | // Define the media item name. |
91 | 91 | $name = $this->randomMachineName(); |
92 | 92 | $image_files = $this->drupalGetTestFiles('image'); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | $itok = $query['itok']; |
123 | 123 | $thumbnail_uri = ImageStyle::load('thumbnail')->buildUri($image_uri); |
124 | 124 | $src = file_url_transform_relative(file_create_url($thumbnail_uri)); |
125 | - $src = $src.'?itok='.$itok; |
|
125 | + $src = $src . '?itok=' . $itok; |
|
126 | 126 | $elements = $this->xpath( |
127 | 127 | '//img[@src=:url and @alt=:alt and @title=:title]', |
128 | 128 | array( |