Beispiel #1
0
function makeDB()
{
    try {
        return new DB(DB::PDO('localhost', 'test', 'test', 'test'));
    } catch (\Exception $e) {
        return false;
    }
}
Beispiel #2
0
 protected function tearDown()
 {
     if ($this->db) {
         $this->db->drop('test')->execute();
     }
 }