Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function testGet(): void |
||
36 | { |
||
37 | $this->r() |
||
38 | ->table('tabletest') |
||
39 | ->insert([ |
||
40 | [ |
||
41 | 'id' => 'foo', |
||
42 | ], |
||
43 | ]) |
||
44 | ->run(); |
||
45 | |||
46 | /** @var ResponseInterface $res */ |
||
47 | $res = $this->r() |
||
48 | ->table('tabletest') |
||
49 | ->get('foo') |
||
50 | ->run(); |
||
51 | |||
52 | $this->assertEquals(['id' => 'foo'], $res->getData()); |
||
53 | } |
||
70 |