summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/config
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-04-04 18:24:09 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-04-04 18:24:09 +0200
commitf4c6c9b3061b464c959b6409f962228959f35287 (patch)
tree2e277194428bdbeb5a515817bbc35ad3bb6dc95f /tests/mocks/database/config
parent44015c8d91ecea78ee4a10de579c36a859c2fcb6 (diff)
DB Drivers test
Diffstat (limited to 'tests/mocks/database/config')
-rw-r--r--tests/mocks/database/config/ci_test.sqlite0
-rw-r--r--tests/mocks/database/config/pdo/sqlite.php3
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/mocks/database/config/ci_test.sqlite b/tests/mocks/database/config/ci_test.sqlite
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/mocks/database/config/ci_test.sqlite
diff --git a/tests/mocks/database/config/pdo/sqlite.php b/tests/mocks/database/config/pdo/sqlite.php
index c6827b41c..1e5043b00 100644
--- a/tests/mocks/database/config/pdo/sqlite.php
+++ b/tests/mocks/database/config/pdo/sqlite.php
@@ -6,16 +6,19 @@ return array(
'pdo/sqlite' => array(
'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/ci_test.sqlite',
'dbdriver' => 'pdo',
+ 'pdodriver' => 'sqlite',
),
// Database configuration with failover
'pdo/sqlite_failover' => array(
'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/not_exists.sqlite',
'dbdriver' => 'pdo',
+ 'pdodriver' => 'sqlite',
'failover' => array(
array(
'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/ci_test.sqlite',
'dbdriver' => 'pdo',
+ 'pdodriver' => 'sqlite',
),
),
),