@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | $method = 'PUT'; |
| 94 | 94 | $uri = 'http://localhost/file/example'; |
| 95 | 95 | $options = [ |
| 96 | - 'upload' => __DIR__ . '/fixtures/file.txt' |
|
| 96 | + 'upload' => __DIR__.'/fixtures/file.txt' |
|
| 97 | 97 | // look ma no 'json' => '{}' |
| 98 | 98 | ]; |
| 99 | 99 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | $sut = new FileSender( |
| 106 | 106 | $clientMock |
| 107 | 107 | ); |
| 108 | - $sut->$type($method, $uri, $options);; |
|
| 108 | + $sut->$type($method, $uri, $options); ; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | |
@@ -123,14 +123,14 @@ discard block |
||
| 123 | 123 | $method = 'PUT'; |
| 124 | 124 | $uri = 'http://localhost/file/example'; |
| 125 | 125 | $options = [ |
| 126 | - 'upload' => __DIR__ . '/fixtures/file.txt', |
|
| 126 | + 'upload' => __DIR__.'/fixtures/file.txt', |
|
| 127 | 127 | 'json' => new \stdClass() |
| 128 | 128 | ]; |
| 129 | 129 | $expectedOptions = [ |
| 130 | 130 | 'query' => [ |
| 131 | 131 | 'metadata' => '{}' |
| 132 | 132 | ], |
| 133 | - 'body' => file_get_contents(__DIR__ . '/fixtures/file.txt') |
|
| 133 | + 'body' => file_get_contents(__DIR__.'/fixtures/file.txt') |
|
| 134 | 134 | ]; |
| 135 | 135 | |
| 136 | 136 | $clientMock = $this->getMockBuilder('GuzzleHttp\Client')->getMock(); |