Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testStore() |
||
12 | { |
||
13 | $client = $this->getClientWithMockedPost('files-store.json'); |
||
14 | |||
15 | $client = new FilesClient($this->getConfig(), $client); |
||
16 | $entry = $client->store( |
||
17 | 'test', |
||
18 | 'private-password', |
||
19 | __DIR__ . '/mocks/test.jpg', |
||
20 | ['test', 'tag'], |
||
21 | new DateTime() |
||
22 | ); |
||
23 | |||
24 | $this->assertInstanceOf(File::class, $entry); |
||
25 | } |
||
45 |