Some new tests

This commit is contained in:
Timothy Warren 2012-04-09 09:02:06 -04:00
parent a94a92e73e
commit 724e09371a
2 changed files with 71 additions and 62 deletions

View File

@ -161,4 +161,8 @@ SQL;
$this->assertFalse(in_array('create_test', $dbs));
}*/
function TestGetDBs()
{
$this->assertFalse($this->db->get_dbs());
}
}

View File

@ -315,6 +315,11 @@ abstract class QBTest extends UnitTestCase {
$this->assertIsA($query, 'PDOStatement');
}
function TestGetDBs()
{
$this->assertTrue(is_array($this->db->get_dbs()));
}
}
// End of parent.php