Add API tests

This commit is contained in:
Pierre Rudloff 2018-04-09 21:23:41 +02:00
parent 9bb11ccfa5
commit 3195d6e125
12 changed files with 5342 additions and 15 deletions

View file

@ -102,6 +102,15 @@ class dba {
return self::$connected;
}
/**
* Return the database object.
* @return PDO|mysqli
*/
public static function get_db()
{
return self::$db;
}
/**
* @brief Returns the MySQL server version string
*