summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r--tests/codeigniter/core/Config_test.php2
-rw-r--r--tests/codeigniter/core/Loader_test.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php
index ba9a2c070..6a0a7a35f 100644
--- a/tests/codeigniter/core/Config_test.php
+++ b/tests/codeigniter/core/Config_test.php
@@ -180,7 +180,7 @@ class Config_test extends CI_TestCase {
$cfg = array(
'one' => 'prime',
'two' => 2,
- 'three' => true
+ 'three' => TRUE
);
$this->ci_vfs_create($file.'.php', '<?php $config = '.var_export($cfg, TRUE).';', $this->ci_app_root, 'config');
$this->assertTrue($this->config->load($file, TRUE));
diff --git a/tests/codeigniter/core/Loader_test.php b/tests/codeigniter/core/Loader_test.php
index 799bcd967..93ca5b223 100644
--- a/tests/codeigniter/core/Loader_test.php
+++ b/tests/codeigniter/core/Loader_test.php
@@ -324,12 +324,12 @@ class Loader_test extends CI_TestCase {
// Create helper in VFS
$helper = 'test';
$func = '_my_helper_test_func';
- $content = '<?php function '.$func.'() { return true; } ';
+ $content = '<?php function '.$func.'() { return TRUE; } ';
$this->ci_vfs_create($helper.'_helper', $content, $this->ci_base_root, 'helpers');
// Create helper extension
$exfunc = '_my_extension_func';
- $content = '<?php function '.$exfunc.'() { return true; } ';
+ $content = '<?php function '.$exfunc.'() { return TRUE; } ';
$this->ci_vfs_create($this->prefix.$helper.'_helper', $content, $this->ci_app_root, 'helpers');
// Load helper
@@ -373,7 +373,7 @@ class Loader_test extends CI_TestCase {
$helpers[] = $helper;
$func = '_my_helper_test_func'.$i;
$funcs[] = $func;
- $files[$helper.'_helper'] = '<?php function '.$func.'() { return true; } ';
+ $files[$helper.'_helper'] = '<?php function '.$func.'() { return TRUE; } ';
}
$this->ci_vfs_create($files, NULL, $this->ci_base_root, 'helpers');
@@ -457,7 +457,7 @@ class Loader_test extends CI_TestCase {
// Create helper in VFS
$helper = 'autohelp';
$hlp_func = '_autohelp_test_func';
- $content = '<?php function '.$hlp_func.'() { return true; }';
+ $content = '<?php function '.$hlp_func.'() { return TRUE; }';
$this->ci_vfs_create($helper.'_helper', $content, $this->ci_app_root, 'helpers');
// Create library in VFS