@@ -46,7 +46,7 @@ discard block |
||
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 |
||
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); |