diff options
author | George Petculescu <gxgpet@gmail.com> | 2022-12-01 12:20:43 +0100 |
---|---|---|
committer | George Petculescu <gxgpet@gmail.com> | 2022-12-01 12:20:43 +0100 |
commit | 127c44dfe4dcb42f506efaa0812a7e5afec99ac9 (patch) | |
tree | dccbab3f6d1a13b8f861ce4623f289e716c45a77 /tests/mocks/ci_testcase.php | |
parent | ad060386f3bd9b9bbebbd03c4f9279fe0c182b29 (diff) |
Fixes #6174
Improves Log_test::test_configuration() test
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 de46f6df6..3ebb6b822 100644 --- a/tests/mocks/ci_testcase.php +++ b/tests/mocks/ci_testcase.php @@ -5,6 +5,7 @@ class CI_TestCase extends \PHPUnit\Framework\TestCase { public $ci_vfs_root; public $ci_app_root; public $ci_base_root; + public $ci_readonly_dir; protected $ci_instance; protected static $ci_test_instance; @@ -39,6 +40,7 @@ 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); + $this->ci_readonly_dir = vfsStream::newDirectory('readonly', 555)->at($this->ci_app_root); if (method_exists($this, 'set_up')) { |