summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2014-03-31 22:11:30 +0200
committervlakoff <vlakoff@gmail.com>2014-03-31 22:11:49 +0200
commite803b5edb173cf91a4afd5f2ee6330e60426ffa8 (patch)
tree72ed78a5526984f546880c1905da2e1493fad2dd /tests
parent93836ff351e3035bf368ed56da09ac27e354989f (diff)
Remove test that has become unfit
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/core/Config_test.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php
index 6a0a7a35f..9c39df71d 100644
--- a/tests/codeigniter/core/Config_test.php
+++ b/tests/codeigniter/core/Config_test.php
@@ -67,13 +67,6 @@ class Config_test extends CI_TestCase {
// Clear base_url
$this->ci_set_config('base_url', '');
- // Rerun constructor
- $cls =& $this->ci_core_class('cfg');
- $this->config = new $cls;
-
- // Test default base
- $this->assertEquals('http://localhost/', $this->config->base_url());
-
// Capture server vars
$old_host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : NULL;
$old_script = isset($_SERVER['SCRIPT_NAME']) ? $_SERVER['SCRIPT_NAME'] : NULL;
@@ -87,6 +80,7 @@ class Config_test extends CI_TestCase {
$_SERVER['SCRIPT_NAME'] = $path.$script;
// Rerun constructor
+ $cls =& $this->ci_core_class('cfg');
$this->config = new $cls;
// Test plain detected