summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers/string_helper_test.php
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-03-28 11:49:49 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-03-28 11:49:49 +0200
commite1dc9ea4fcfd4983fa076b70fe631166a95d0b68 (patch)
treefb58707f0e13595a35635dceed6cd671a564f512 /tests/codeigniter/helpers/string_helper_test.php
parent30b34d099e4e9bcdc79ec496fdb89904444eaa4f (diff)
Remove include or require declaration from all helpers test
Diffstat (limited to 'tests/codeigniter/helpers/string_helper_test.php')
-rw-r--r--tests/codeigniter/helpers/string_helper_test.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/codeigniter/helpers/string_helper_test.php b/tests/codeigniter/helpers/string_helper_test.php
index a884d6284..29c3d6594 100644
--- a/tests/codeigniter/helpers/string_helper_test.php
+++ b/tests/codeigniter/helpers/string_helper_test.php
@@ -1,9 +1,12 @@
<?php
-require_once(BASEPATH.'helpers/string_helper.php');
+class String_helper_test extends CI_TestCase {
+
+ public function set_up()
+ {
+ $this->helper('string');
+ }
-class String_helper_test extends CI_TestCase
-{
public function test_strip_slashes()
{
$expected = array(