Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function testSync(): void |
||
14 | { |
||
15 | $this->insertDocument(1); |
||
16 | $this->insertDocument(2); |
||
17 | $this->insertDocument(3); |
||
18 | $this->insertDocument(4); |
||
19 | $this->insertDocument(5); |
||
20 | |||
21 | /** @var ResponseInterface $result */ |
||
22 | $result = $this->r() |
||
23 | ->table('tabletest') |
||
24 | ->sync() |
||
25 | ->run(); |
||
26 | |||
27 | $this->assertEquals(['synced' => true], $result->getData()); |
||
28 | } |
||
30 |