summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-25 23:44:42 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-25 23:44:42 +0200
commit0bb13811397a730444437702bbc1b01a29c27a46 (patch)
treebafa893a23f313a3460e6271ee7feae3c8a36150 /tests/mocks/database
parentd3809277ac0d37caaf5a1a4c6332fe69edb34c25 (diff)
Work-around for a failover test (currently DSNs are only built on class initialization)
Diffstat (limited to 'tests/mocks/database')
-rw-r--r--tests/mocks/database/config/pdo/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mocks/database/config/pdo/mysql.php b/tests/mocks/database/config/pdo/mysql.php
index 97ea24b65..38f822fd7 100644
--- a/tests/mocks/database/config/pdo/mysql.php
+++ b/tests/mocks/database/config/pdo/mysql.php
@@ -24,7 +24,7 @@ return array(
'subdriver' => 'mysql',
'failover' => array(
array(
- 'dsn' => '',
+ 'dsn' => 'mysql:host=localhost;dbname=ci_test',
'hostname' => 'localhost',
'username' => 'travis',
'password' => '',