diff options
author | Andrey Andreev <narf@devilix.net> | 2018-01-13 12:57:11 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2018-01-13 12:57:11 +0100 |
commit | 02a0518e1c56ba3506f370362ac5ebdb8a138312 (patch) | |
tree | 8b4684192b403dcae17d298eb4fc9e7ab001acad /tests/mocks/database/config | |
parent | f0b9735d5857e6c07c8f5824b13cff4828db3cfe (diff) |
[ci skip] 3.1.7 release
Diffstat (limited to 'tests/mocks/database/config')
-rw-r--r-- | tests/mocks/database/config/mysql.php | 34 | ||||
-rw-r--r-- | tests/mocks/database/config/mysqli.php | 34 | ||||
-rw-r--r-- | tests/mocks/database/config/pdo/mysql.php | 37 | ||||
-rw-r--r-- | tests/mocks/database/config/pdo/pgsql.php | 37 | ||||
-rw-r--r-- | tests/mocks/database/config/pdo/sqlite.php | 37 | ||||
-rw-r--r-- | tests/mocks/database/config/pgsql.php | 34 | ||||
-rw-r--r-- | tests/mocks/database/config/sqlite.php | 34 |
7 files changed, 0 insertions, 247 deletions
diff --git a/tests/mocks/database/config/mysql.php b/tests/mocks/database/config/mysql.php deleted file mode 100644 index a590b9f53..000000000 --- a/tests/mocks/database/config/mysql.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -return array( - - // Typical Database configuration - 'mysql' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'mysql' - ), - - // Database configuration with failover - 'mysql_failover' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'not_travis', - 'password' => 'wrong password', - 'database' => 'not_ci_test', - 'dbdriver' => 'mysql', - 'failover' => array( - array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'mysql', - ) - ) - ) -);
\ No newline at end of file diff --git a/tests/mocks/database/config/mysqli.php b/tests/mocks/database/config/mysqli.php deleted file mode 100644 index 5dd08abb2..000000000 --- a/tests/mocks/database/config/mysqli.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -return array( - - // Typical Database configuration - 'mysqli' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'mysqli' - ), - - // Database configuration with failover - 'mysqli_failover' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'not_travis', - 'password' => 'wrong password', - 'database' => 'not_ci_test', - 'dbdriver' => 'mysqli', - 'failover' => array( - array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'mysqli', - ) - ) - ) -);
\ No newline at end of file diff --git a/tests/mocks/database/config/pdo/mysql.php b/tests/mocks/database/config/pdo/mysql.php deleted file mode 100644 index 96608f787..000000000 --- a/tests/mocks/database/config/pdo/mysql.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -return array( - - // Typical Database configuration - 'pdo/mysql' => array( - 'dsn' => 'mysql:host=localhost;dbname=ci_test', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'mysql' - ), - - // Database configuration with failover - 'pdo/mysql_failover' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'not_travis', - 'password' => 'wrong password', - 'database' => 'not_ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'mysql', - 'failover' => array( - array( - 'dsn' => 'mysql:host=localhost;dbname=ci_test', - 'hostname' => 'localhost', - 'username' => 'travis', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'mysql' - ) - ) - ) -);
\ No newline at end of file diff --git a/tests/mocks/database/config/pdo/pgsql.php b/tests/mocks/database/config/pdo/pgsql.php deleted file mode 100644 index e55e3ea77..000000000 --- a/tests/mocks/database/config/pdo/pgsql.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -return array( - - // Typical Database configuration - 'pdo/pgsql' => array( - 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;', - 'hostname' => 'localhost', - 'username' => 'postgres', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'pgsql' - ), - - // Database configuration with failover - 'pdo/pgsql_failover' => array( - 'dsn' => '', - 'hostname' => 'localhost', - 'username' => 'not_travis', - 'password' => 'wrong password', - 'database' => 'not_ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'pgsql', - 'failover' => array( - array( - 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;', - 'hostname' => 'localhost', - 'username' => 'postgres', - 'password' => '', - 'database' => 'ci_test', - 'dbdriver' => 'pdo', - 'subdriver' => 'pgsql' - ) - ) - ) -);
\ No newline at end of file diff --git a/tests/mocks/database/config/pdo/sqlite.php b/tests/mocks/database/config/pdo/sqlite.php deleted file mode 100644 index 1bf56b3ac..000000000 --- a/tests/mocks/database/config/pdo/sqlite.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -return array( - - // Typical Database configuration - 'pdo/sqlite' => array( - 'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite', - 'hostname' => 'localhost', - 'username' => 'sqlite', - 'password' => 'sqlite', - 'database' => 'sqlite', - 'dbdriver' => 'pdo', - 'subdriver' => 'sqlite' - ), - - // Database configuration with failover - 'pdo/sqlite_failover' => array( - 'dsn' => 'sqlite:not_exists.sqlite', - 'hostname' => 'localhost', - 'username' => 'sqlite', - 'password' => 'sqlite', - 'database' => 'sqlite', - 'dbdriver' => 'pdo', - 'subdriver' => 'sqlite', - 'failover' => array( - array( - 'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite', - 'hostname' => 'localhost', - 'username' => 'sqlite', - 'password' => 'sqlite', - 'database' => 'sqlite', - 'dbdriver' => 'pdo', - 'subdriver' => 'sqlite' - ) - ) - ) -);
\ No newline at end of file diff --git a/tests/mocks/database/config/pgsql.php b/tests/mocks/database/config/pgsql.php deleted file mode 100644 index 1444b0066..000000000 --- a/tests/mocks/database/config/pgsql.php +++ /dev/null @@ -1,34 +0,0 @@ -<?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 diff --git a/tests/mocks/database/config/sqlite.php b/tests/mocks/database/config/sqlite.php deleted file mode 100644 index d37ee4871..000000000 --- a/tests/mocks/database/config/sqlite.php +++ /dev/null @@ -1,34 +0,0 @@ -<?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' - ) - ) - ) -);
\ No newline at end of file |