Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function testGetAllAndCount(): void |
||
37 | { |
||
38 | $this->insertDocument(1); |
||
39 | $this->insertDocument('stringId'); |
||
40 | |||
41 | /** @var ResponseInterface $res */ |
||
42 | $res = $this->r() |
||
43 | ->table('tabletest') |
||
44 | ->getAll(1, 'stringId') |
||
45 | ->count() |
||
46 | ->run(); |
||
47 | |||
48 | $this->assertEquals(2, $res->getData()); |
||
49 | } |
||
51 |