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/text_helper_test.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/codeigniter/helpers/text_helper_test.php') diff --git a/tests/codeigniter/helpers/text_helper_test.php b/tests/codeigniter/helpers/text_helper_test.php index e51d96a29..36465f203 100644 --- a/tests/codeigniter/helpers/text_helper_test.php +++ b/tests/codeigniter/helpers/text_helper_test.php @@ -64,12 +64,7 @@ class Text_helper_test extends CI_TestCase { public function test_convert_accented_characters() { - $path = 'application/config/foreign_chars.php'; - $this->ci_vfs_clone($path); - if (is_php('7.4')) - { - copy(PROJECT_BASE.$path, APPPATH.'../'.$path); - } + $this->ci_vfs_clone('application/config/foreign_chars.php'); $this->assertEquals('AAAeEEEIIOOEUUUeY', convert_accented_characters('ÀÂÄÈÊËÎÏÔŒÙÛÜŸ')); $this->assertEquals('a e i o u n ue', convert_accented_characters('á é í ó ú ñ ü')); } -- cgit v1.2.3-24-g4f1b