diff options
author | vlakoff <vlakoff@gmail.com> | 2013-05-25 19:46:11 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-05-25 19:46:11 +0200 |
commit | ef2be33c1e726f92d7e8a12669fe98733e32b086 (patch) | |
tree | 6a7f9ed1317586548031389468fc49df1f791273 /tests/codeigniter/core/Loader_test.php | |
parent | ef8ca68ea0f6c7a1ccde0dcb33308a6805a602ea (diff) |
Try a different method, the previous one wasn't working in Travis
Diffstat (limited to 'tests/codeigniter/core/Loader_test.php')
-rw-r--r-- | tests/codeigniter/core/Loader_test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Loader_test.php b/tests/codeigniter/core/Loader_test.php index 04363c15c..ac2656e75 100644 --- a/tests/codeigniter/core/Loader_test.php +++ b/tests/codeigniter/core/Loader_test.php @@ -147,7 +147,8 @@ class Loader_test extends CI_TestCase { public function test_driver() { - $this->ci_vfs_clone('system/libraries/Driver.php'); + // Call the autoloader, to include system/libraries/Driver.php + class_exists('CI_Driver_Library', TRUE); // Create driver in VFS $driver = 'unit_test_driver'; |