function Drush_TestCase::db_driver

6.x drush_testcase.inc Drush_TestCase::db_driver($db_url = UNISH_DB_URL)
5 calls to Drush_TestCase::db_driver()

File

tests/drush_testcase.inc, line 234
Initialize a sandboxed environment. Starts with call unish_init() at bottom.

Class

Drush_TestCase

Code

function db_driver($db_url = UNISH_DB_URL) {
  return parse_url(UNISH_DB_URL, PHP_URL_SCHEME);
}