Some new tests
This commit is contained in:
parent
a94a92e73e
commit
724e09371a
@ -161,4 +161,8 @@ SQL;
|
|||||||
$this->assertFalse(in_array('create_test', $dbs));
|
$this->assertFalse(in_array('create_test', $dbs));
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
function TestGetDBs()
|
||||||
|
{
|
||||||
|
$this->assertFalse($this->db->get_dbs());
|
||||||
|
}
|
||||||
}
|
}
|
@ -315,6 +315,11 @@ abstract class QBTest extends UnitTestCase {
|
|||||||
$this->assertIsA($query, 'PDOStatement');
|
$this->assertIsA($query, 'PDOStatement');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function TestGetDBs()
|
||||||
|
{
|
||||||
|
$this->assertTrue(is_array($this->db->get_dbs()));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// End of parent.php
|
// End of parent.php
|
Reference in New Issue
Block a user