diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-03 01:09:05 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-03 01:09:05 +0100 |
commit | dd8d3d366bef1bc3fcb4476e88e8e6af44b89973 (patch) | |
tree | b71c41da59ba17daf8b84204713e801ef794c4ea /tests/mocks/ci_testcase.php | |
parent | 1712f1191f0027b61ca06dae7be303ea1b52f867 (diff) |
Fix the bloody tests
Diffstat (limited to 'tests/mocks/ci_testcase.php')
-rw-r--r-- | tests/mocks/ci_testcase.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mocks/ci_testcase.php b/tests/mocks/ci_testcase.php index f16492945..2d0a26830 100644 --- a/tests/mocks/ci_testcase.php +++ b/tests/mocks/ci_testcase.php @@ -39,6 +39,8 @@ class CI_TestCase extends PHPUnit_Framework_TestCase { $this->ci_app_root = vfsStream::newDirectory('application')->at($this->ci_vfs_root); $this->ci_base_root = vfsStream::newDirectory('system')->at($this->ci_vfs_root); $this->ci_view_root = vfsStream::newDirectory('views')->at($this->ci_app_root); + vfsStream::newDirectory('config')->at($this->ci_app_root); + $this->ci_vfs_clone('application/config/autoload.php'); if (method_exists($this, 'set_up')) { |