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