From 56de63c5bdfd7962d2e64d6d9b0a5b7914d4ec6c Mon Sep 17 00:00:00 2001 From: George Petculescu Date: Mon, 31 May 2021 13:23:32 +0300 Subject: Upgrade to latest mikey179/vfsstream --- tests/codeigniter/helpers/file_helper_test.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/codeigniter/helpers/file_helper_test.php') 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(''); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b