diff options
author | Andrey Andreev <narf@devilix.net> | 2017-06-19 10:33:58 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-06-19 10:33:58 +0200 |
commit | 6c7a4266410070d30f8f6bcdf9c9e67f3d6478e3 (patch) | |
tree | f0aab8f6f5e781d5947b1a5553b6648eb7b7a4ab /tests/codeigniter/database/DB_driver_test.php | |
parent | 2459285b91d6fc4f5099f9f597529cce1059cb33 (diff) |
[ci skip] 3.1.5 release
Diffstat (limited to 'tests/codeigniter/database/DB_driver_test.php')
-rw-r--r-- | tests/codeigniter/database/DB_driver_test.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/codeigniter/database/DB_driver_test.php b/tests/codeigniter/database/DB_driver_test.php deleted file mode 100644 index 26416d3fc..000000000 --- a/tests/codeigniter/database/DB_driver_test.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php - -class DB_driver_test extends CI_TestCase { - - public function test_initialize() - { - $config = Mock_Database_DB::config(DB_DRIVER); - sscanf(DB_DRIVER, '%[^/]/', $driver_name); - $driver = $this->{$driver_name}($config[DB_DRIVER]); - - $this->assertTrue($driver->initialize()); - } - - protected function pdo($config) - { - return new Mock_Database_Drivers_PDO($config); - } - - protected function mysql($config) - { - return new Mock_Database_Drivers_Mysql($config); - } - - protected function mysqli($config) - { - return new Mock_Database_Drivers_Mysqli($config); - } - - protected function sqlite($config) - { - return new Mock_Database_Drivers_Sqlite($config); - } - - protected function pgsql($config) - { - return new Mock_Database_Drivers_Postgre($config); - } - -}
\ No newline at end of file |