aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_database_test_connection_manager.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-11-13 18:08:35 +0100
committerJakub Senko <jakubsenko@gmail.com>2016-11-16 17:59:28 +0100
commite974f338afb86c065e9b160363bc2e6156f8566d (patch)
treee0eddcc8228c5662fbd96e136483fb47e8e365a1 /tests/test_framework/phpbb_database_test_connection_manager.php
parent9c7e8c2dc5607a594f1e8d3a633dc686e8c002a7 (diff)
downloadforums-e974f338afb86c065e9b160363bc2e6156f8566d.tar
forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.gz
forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.bz2
forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.xz
forums-e974f338afb86c065e9b160363bc2e6156f8566d.zip
[ticket/14739] Remove SQLite 2.8.x database driver
PHPBB3-14739
Diffstat (limited to 'tests/test_framework/phpbb_database_test_connection_manager.php')
-rw-r--r--tests/test_framework/phpbb_database_test_connection_manager.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/test_framework/phpbb_database_test_connection_manager.php b/tests/test_framework/phpbb_database_test_connection_manager.php
index 27ac64e21d..147029d699 100644
--- a/tests/test_framework/phpbb_database_test_connection_manager.php
+++ b/tests/test_framework/phpbb_database_test_connection_manager.php
@@ -55,7 +55,6 @@ class phpbb_database_test_connection_manager
switch ($this->dbms['PDO'])
{
- case 'sqlite2':
case 'sqlite': // SQLite3 driver
$dsn .= $this->config['dbhost'];
break;
@@ -193,7 +192,6 @@ class phpbb_database_test_connection_manager
{
switch ($this->config['dbms'])
{
- case 'phpbb\db\driver\sqlite':
case 'phpbb\db\driver\sqlite3':
$this->connect();
// Drop all of the tables
@@ -269,12 +267,6 @@ class phpbb_database_test_connection_manager
$sql = 'SHOW TABLES';
break;
- case 'phpbb\db\driver\sqlite':
- $sql = 'SELECT name
- FROM sqlite_master
- WHERE type = "table"';
- break;
-
case 'phpbb\db\driver\sqlite3':
$sql = 'SELECT name
FROM sqlite_master
@@ -378,7 +370,7 @@ class phpbb_database_test_connection_manager
$classes = $finder->core_path('phpbb/db/migration/data/')
->get_classes();
- $db = new \phpbb\db\driver\sqlite();
+ $db = new \phpbb\db\driver\sqlite3();
$factory = new \phpbb\db\tools\factory();
$db_tools = $factory->get($db, true);
@@ -454,11 +446,6 @@ class phpbb_database_test_connection_manager
'DELIM' => ';',
'PDO' => 'pgsql',
),
- 'phpbb\db\driver\sqlite' => array(
- 'SCHEMA' => 'sqlite',
- 'DELIM' => ';',
- 'PDO' => 'sqlite2',
- ),
'phpbb\db\driver\sqlite3' => array(
'SCHEMA' => 'sqlite',
'DELIM' => ';',