Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function testStoreWithPath() |
||
28 | { |
||
29 | $client = $this->getClientWithMockedPost('files-store-with-path.json'); |
||
30 | |||
31 | $client = new FilesClient($this->getConfig(), $client); |
||
32 | $entry = $client->storeWithPath( |
||
33 | 'test', |
||
34 | 'private-password', |
||
35 | 'appId', |
||
36 | 'image/jpeg', |
||
37 | 16980, |
||
38 | ['test', 'tag'], |
||
39 | new DateTime() |
||
40 | ); |
||
41 | |||
42 | $this->assertInstanceOf(File::class, $entry); |
||
43 | } |
||
45 |