summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-04-28 13:28:07 +0200
committerAndrey Andreev <narf@devilix.net>2016-04-28 13:28:07 +0200
commit4ac24c201c673b52b39b7efc2235f1d84d1acd08 (patch)
tree5e8ae1dc8c95bf6bb8bb5534a3d5b001bec647ee /tests/codeigniter
parent9343851e6155f6728e02332000f1885e248e907d (diff)
Fix #4605
Diffstat (limited to 'tests/codeigniter')
-rw-r--r--tests/codeigniter/core/Config_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php
index 26a5f32f5..b5c9e849d 100644
--- a/tests/codeigniter/core/Config_test.php
+++ b/tests/codeigniter/core/Config_test.php
@@ -127,6 +127,8 @@ class Config_test extends CI_TestCase {
$this->assertEquals($index_page.'/'.$uri, $this->config->site_url($uri));
$this->assertEquals($index_page.'/'.$uri.'/'.$uri2, $this->config->site_url(array($uri, $uri2)));
+ $this->assertEquals($index_page.'/test/', $this->config->site_url('test/'));
+
$suffix = 'ing';
$this->config->set_item('url_suffix', $suffix);