summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-04-04 20:48:52 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-04-04 20:48:52 +0200
commit55f804239cb0141fdac748607d8cdfa143efac92 (patch)
tree2d5a9455181f12ecf15faa10c2ca8621085a3e8f /tests
parent5b421665bac7609192917f7b0f34838534be099e (diff)
Add dsn to pgsql
Diffstat (limited to 'tests')
-rw-r--r--tests/mocks/database/config/pdo/pgsql.php4
-rw-r--r--tests/mocks/database/config/sqlite.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/mocks/database/config/pdo/pgsql.php b/tests/mocks/database/config/pdo/pgsql.php
index b2f409d8d..5196e9ad9 100644
--- a/tests/mocks/database/config/pdo/pgsql.php
+++ b/tests/mocks/database/config/pdo/pgsql.php
@@ -4,7 +4,7 @@ return array(
// Typical Database configuration
'pdo/pgsql' => array(
- 'dsn' => '',
+ 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;',
'hostname' => 'localhost',
'username' => 'postgres',
'password' => '',
@@ -24,7 +24,7 @@ return array(
'pdodriver' => 'pgsql',
'failover' => array(
array(
- 'dsn' => '',
+ 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;',
'hostname' => 'localhost',
'username' => 'postgres',
'password' => '',
diff --git a/tests/mocks/database/config/sqlite.php b/tests/mocks/database/config/sqlite.php
index 75fdacd96..755ce2a3a 100644
--- a/tests/mocks/database/config/sqlite.php
+++ b/tests/mocks/database/config/sqlite.php
@@ -26,7 +26,7 @@ return array(
'hostname' => 'localhost',
'username' => 'sqlite',
'password' => 'sqlite',
- 'database' => realpath(__DIR__.'/..').'/ci_testf.sqlite',
+ 'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
'dbdriver' => 'sqlite3',
),
),