Completed
Push — master ( db6522...d3a6d4 )
by Andrii
02:44
created
tests/unit/ConnectionTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'config'  => [
47 47
                 'base_uri' => $this->site,
48 48
             ],
49
-            'errorChecker' => function ($res) {
49
+            'errorChecker' => function($res) {
50 50
                 return null;
51 51
             },
52 52
         ]);
@@ -60,14 +60,14 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $result = $this->object->get($this->url, [], false);
62 62
         $this->assertSame($this->result, $result);
63
-        $this->assertSame('request',   $this->mock->name);
64
-        $this->assertSame('GET',       $this->mock->args[0]);
65
-        $this->assertSame($this->url,  $this->mock->args[1]);
63
+        $this->assertSame('request', $this->mock->name);
64
+        $this->assertSame('GET', $this->mock->args[0]);
65
+        $this->assertSame($this->url, $this->mock->args[1]);
66 66
     }
67 67
 
68 68
     public function testErrorChecker()
69 69
     {
70
-        $this->object->setErrorChecker(function ($res) {
70
+        $this->object->setErrorChecker(function($res) {
71 71
             return $res;
72 72
         });
73 73
         $this->setExpectedException('hiqdev\hiart\ErrorResponseException', $this->result);
Please login to merge, or discard this patch.