diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-26 09:06:54 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-26 09:06:54 +0100 |
commit | b5925ec58a43b85bffb0d3aea6032f0b909b1121 (patch) | |
tree | 7d36d604191a923d2f6a72e99341c3ff665fe027 /tests/codeigniter/database | |
parent | 7127f973a161a21a50819993b8cf5eda7b9cbeff (diff) |
Fix .travis.yml for PHP7 and try to fix a DB test
Diffstat (limited to 'tests/codeigniter/database')
-rw-r--r-- | tests/codeigniter/database/DB_driver_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/database/DB_driver_test.php b/tests/codeigniter/database/DB_driver_test.php index c04c42b09..26416d3fc 100644 --- a/tests/codeigniter/database/DB_driver_test.php +++ b/tests/codeigniter/database/DB_driver_test.php @@ -6,7 +6,7 @@ class DB_driver_test extends CI_TestCase { { $config = Mock_Database_DB::config(DB_DRIVER); sscanf(DB_DRIVER, '%[^/]/', $driver_name); - $driver = $this->$driver_name($config[DB_DRIVER]); + $driver = $this->{$driver_name}($config[DB_DRIVER]); $this->assertTrue($driver->initialize()); } |