diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-03-28 11:49:49 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-03-28 11:49:49 +0200 |
commit | e1dc9ea4fcfd4983fa076b70fe631166a95d0b68 (patch) | |
tree | fb58707f0e13595a35635dceed6cd671a564f512 /tests/codeigniter/helpers/file_helper_test.php | |
parent | 30b34d099e4e9bcdc79ec496fdb89904444eaa4f (diff) |
Remove include or require declaration from all helpers test
Diffstat (limited to 'tests/codeigniter/helpers/file_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/file_helper_test.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/codeigniter/helpers/file_helper_test.php b/tests/codeigniter/helpers/file_helper_test.php index a596a0375..4b9c29485 100644 --- a/tests/codeigniter/helpers/file_helper_test.php +++ b/tests/codeigniter/helpers/file_helper_test.php @@ -1,12 +1,11 @@ <?php -require_once 'vfsStream/vfsStream.php'; -require BASEPATH.'helpers/file_helper.php'; +class File_helper_Test extends CI_TestCase { -class File_helper_Test extends CI_TestCase -{ public function set_up() { + $this->helper('file'); + vfsStreamWrapper::register(); vfsStreamWrapper::setRoot(new vfsStreamDirectory('testDir')); |