diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-02 05:03:39 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-02 05:03:39 +0200 |
commit | d8159e49acd2ab61bd8390eb123f05adc07c6bdb (patch) | |
tree | cf80f02092a50db6b2857a54c7f558d7dcb1158c /tests/mocks/database/config/pgsql.php | |
parent | 0fd760e9765ea6785b4bd59d65365a079717ca6a (diff) | |
parent | 3396d531e2f3864d06860cdbdf7320bc121f77f1 (diff) |
Merge upstream branch
Diffstat (limited to 'tests/mocks/database/config/pgsql.php')
-rw-r--r-- | tests/mocks/database/config/pgsql.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/mocks/database/config/pgsql.php b/tests/mocks/database/config/pgsql.php new file mode 100644 index 000000000..c06af8ce0 --- /dev/null +++ b/tests/mocks/database/config/pgsql.php @@ -0,0 +1,34 @@ +<?php + +return array( + + // Typical Database configuration + 'pgsql' => array( + 'dsn' => '', + 'hostname' => 'localhost', + 'username' => 'postgres', + 'password' => '', + 'database' => 'ci_test', + 'dbdriver' => 'postgre', + ), + + // Database configuration with failover + 'pgsql_failover' => array( + 'dsn' => '', + 'hostname' => 'localhost', + 'username' => 'not_travis', + 'password' => 'wrong password', + 'database' => 'not_ci_test', + 'dbdriver' => 'postgre', + 'failover' => array( + array( + 'dsn' => '', + 'hostname' => 'localhost', + 'username' => 'postgres', + 'password' => '', + 'database' => 'ci_test', + 'dbdriver' => 'postgre', + ), + ), + ), +);
\ No newline at end of file |