| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | * @throws \Exception |
||
| 10 | */ |
||
| 11 | public function testTableList() |
||
| 12 | { |
||
| 13 | $res = $this->r() |
||
| 14 | ->db() |
||
| 15 | ->tableList() |
||
| 16 | ->run(); |
||
| 17 | |||
| 18 | $this->assertInternalType('array', $res->getData()); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @throws \Exception |
||
| 23 | */ |
||
| 24 | public function testCreateTable() |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @throws \Exception |
||
| 41 | */ |
||
| 42 | public function testDropTable() |
||
| 43 | { |
||
| 44 | $this->r() |
||
| 45 | ->db() |
||
| 46 | ->tableCreate('createtable') |
||
| 47 | ->run(); |
||
| 48 | |||
| 49 | $res = $this->r() |
||
| 50 | ->db() |
||
| 51 | ->tableDrop('createtable') |
||
| 52 | ->run(); |
||
| 53 | |||
| 57 |