Initial import
This commit is contained in:
34
tests/mocks/database/config/sqlite.php
Normal file
34
tests/mocks/database/config/sqlite.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
// Typical Database configuration
|
||||
'sqlite' => array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
|
||||
'dbdriver' => 'sqlite3'
|
||||
),
|
||||
|
||||
// Database configuration with failover
|
||||
'sqlite_failover' => array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => '../not_exists.sqlite',
|
||||
'dbdriver' => 'sqlite3',
|
||||
'failover' => array(
|
||||
array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
|
||||
'dbdriver' => 'sqlite3'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user