Completed
Pull Request — 8.x-1.x (#4)
by Vijay
02:40
created
src/Tests/ImageBundleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(
Please login to merge, or discard this patch.