Completed
Push — develop ( 9ebe7a...076d60 )
by Schlaefer
07:00 queued 03:33
created
plugins/ImageUploader/tests/TestCase/Controller/UploadsControllerTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $this->loginJwt(1);
73 73
 
74 74
         $this->upload($this->file);
75
-        $response = json_decode((string)$this->_response->getBody(), true);
75
+        $response = json_decode((string) $this->_response->getBody(), true);
76 76
 
77 77
         $this->assertResponseCode(200);
78 78
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             <svg width="9" height="9" style="background:red;"></svg>');
120 120
         $this->upload($this->file);
121 121
 
122
-        $response = json_decode((string)$this->_response->getBody(), true);
122
+        $response = json_decode((string) $this->_response->getBody(), true);
123 123
 
124 124
         $this->assertResponseCode(200);
125 125
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
         $this->upload($this->file);
178 178
 
179
-        $response = json_decode((string)$this->_response->getBody(), true);
179
+        $response = json_decode((string) $this->_response->getBody(), true);
180 180
 
181 181
         $this->assertResponseCode(200);
182 182
 
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 
237 237
         $this->get('api/v2/uploads');
238 238
 
239
-        $response = json_decode((string)$this->_response->getBody(), true);
239
+        $response = json_decode((string) $this->_response->getBody(), true);
240 240
 
241 241
         $this->assertResponseCode(200);
242 242
 
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 
284 284
         $this->delete('api/v2/uploads/1');
285 285
 
286
-        $response = json_decode((string)$this->_response->getBody(), true);
286
+        $response = json_decode((string) $this->_response->getBody(), true);
287 287
 
288 288
         $this->assertResponseCode(204);
289 289
 
Please login to merge, or discard this patch.