| 1 | <?php |
||
| 12 | class DatabaseTest extends BaseTestCase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var RethinkInterface |
||
| 16 | */ |
||
| 17 | private $r; |
||
| 18 | |||
| 19 | public function setUp() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws \Exception |
||
| 32 | */ |
||
| 33 | public function testTableList() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @throws \Exception |
||
| 45 | */ |
||
| 46 | public function testCreateTable() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @throws \Exception |
||
| 58 | */ |
||
| 59 | public function testDropTable() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @param $status |
||
| 71 | * @param $data |
||
| 72 | * @throws \Exception |
||
| 73 | */ |
||
| 74 | protected function assertObStatus($status, $data) |
||
| 96 | } |
||
| 97 |