@ -279,7 +279,7 @@ abstract class MyDbDriver extends DbDriver
return $table;
}
public function query($sql, $params)
public function query($sql, $params = array())
{
$conf = array('driver' => 'MockDbDriver', 'hostname' => 'localhost', 'database' => 'db', 'username' => 'test', 'password' => '1234');
return new MockDbDriver($conf);