summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-08-29 06:00:51 +0200
committerEric Barnes <eric@ericlbarnes.com>2011-08-29 06:00:51 +0200
commitcf1926acb352f1d80cab7c1bc7e1ec5457a2b43d (patch)
treef0ef12489a743cc215fa4f6343208c0ad9ecebeb
parent65faf9fb927cd20bc0b98f0f33ae662a2611c6de (diff)
Removed beginning slash in expected for site_url.
-rw-r--r--tests/codeigniter/core/Config_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php
index b6c57da70..30f0cc61d 100644
--- a/tests/codeigniter/core/Config_test.php
+++ b/tests/codeigniter/core/Config_test.php
@@ -67,13 +67,13 @@ class Config_test extends CI_TestCase {
$this->config->set_item('enable_query_strings', FALSE);
- $this->assertEquals('/index.php/test', $this->config->site_url('test'));
- $this->assertEquals('/index.php/test/1', $this->config->site_url(array('test', '1')));
+ $this->assertEquals('index.php/test', $this->config->site_url('test'));
+ $this->assertEquals('index.php/test/1', $this->config->site_url(array('test', '1')));
$this->config->set_item('enable_query_strings', TRUE);
- $this->assertEquals('/index.php?test', $this->config->site_url('test'));
- $this->assertEquals('/index.php?0=test&1=1', $this->config->site_url(array('test', '1')));
+ $this->assertEquals('index.php?test', $this->config->site_url('test'));
+ $this->assertEquals('index.php?0=test&1=1', $this->config->site_url(array('test', '1')));
$this->config->set_item('base_url', $base_url);