/** * Tests Database->query_fetch() */ public function testQuery_fetch() { $result = $this->Database->query_fetch('select 1'); if (!$result[1] == 1) { $this->fail(); } }