diff options
author | George Petculescu <gxgpet@gmail.com> | 2021-05-31 12:23:32 +0200 |
---|---|---|
committer | George Petculescu <gxgpet@gmail.com> | 2021-05-31 12:23:32 +0200 |
commit | 56de63c5bdfd7962d2e64d6d9b0a5b7914d4ec6c (patch) | |
tree | be05a1326d053e22a7cf13aa99dc76b0357b351c /tests/codeigniter/helpers/file_helper_test.php | |
parent | 5fe5a94930d58f2d6dcdda2a3b0d97978b3c3c8d (diff) |
Upgrade to latest mikey179/vfsstream
Diffstat (limited to 'tests/codeigniter/helpers/file_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/file_helper_test.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/codeigniter/helpers/file_helper_test.php b/tests/codeigniter/helpers/file_helper_test.php index dd74ee46b..8d7f8e1eb 100644 --- a/tests/codeigniter/helpers/file_helper_test.php +++ b/tests/codeigniter/helpers/file_helper_test.php @@ -6,10 +6,7 @@ class File_helper_Test extends CI_TestCase { { $this->helper('file'); - vfsStreamWrapper::register(); - vfsStreamWrapper::setRoot(new vfsStreamDirectory('testDir')); - - $this->_test_dir = vfsStreamWrapper::getRoot(); + $this->_test_dir = vfsStream::setup(''); } // -------------------------------------------------------------------- |