for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace TBolier\RethinkQL\IntegrationTest\Query;
class DatabaseTest extends AbstractTableTest
{
/**
* @throws \Exception
*/
public function testTableList()
$res = $this->r()
->db()
->tableList()
->run();
$this->assertInternalType('array', $res->getData());
}
public function testCreateTable()
->tableCreate('createtable')
$this->assertObStatus(['tables_created' => 1], $res->getData());
$this->r()
->tableDrop('createtable')
public function testDropTable()
$this->assertObStatus(['tables_dropped' => 1], $res->getData());