function UnishTestCase::db_driver

8.0.x UnishTestCase.php UnishTestCase::db_driver($db_url = UNISH_DB_URL)
7.x UnishTestCase.php UnishTestCase::db_driver($db_url = UNISH_DB_URL)
master UnishTestCase.php UnishTestCase::db_driver($db_url = UNISH_DB_URL)
5 calls to UnishTestCase::db_driver()
SqlConnectCase::testSqlConnect in tests/sqlConnectCreateTest.php
SqlDumpTest::testSqlDump in tests/sqlDumpTest.php
Test that a dump file is created successfully.
sqlSyncTest::testLocalSqlSync in tests/sqlSyncTest.php
Covers the following responsibilities.
UnishTestCase::fetchInstallDrupal in tests/Unish/UnishTestCase.php
UnishTestCase::setUpDrupal in tests/Unish/UnishTestCase.php

File

tests/Unish/UnishTestCase.php, line 226

Namespace

Unish

Class

UnishTestCase

Code

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