diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-28 12:13:52 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-28 12:13:52 +0200 |
commit | c8ab5738c920f0daec0af184dbb2f744c3ca9611 (patch) | |
tree | ad74003a1a758f4c5638f06687f2ee60e534e941 /tests/codeigniter/helpers/file_helper_test.php | |
parent | a11b16b1af42bbb4ffbc15eeee50a3d3ceb402d5 (diff) | |
parent | bdb84af43792f507eaab5ab0c4b3ec1be17a1a54 (diff) |
Merge pull request #1226 from toopay/unit-tests
Improve Unit tests
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')); |