summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-03-10 23:43:45 +0100
committerTaufan Aditya <toopay@taufanaditya.com>2012-03-10 23:43:45 +0100
commit8749bc7e836c196dfef37d3b7b5a67736a15092c (patch)
treeeb647bc246487f444ea1ffd4e24317ab0200bf30 /tests/codeigniter/core
parente40c763bf969acbaa7c4c61be50f01e870062080 (diff)
Fix incomplete and skipped test
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r--tests/codeigniter/core/Lang_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/codeigniter/core/Lang_test.php b/tests/codeigniter/core/Lang_test.php
index dcc3d0879..a414f0ace 100644
--- a/tests/codeigniter/core/Lang_test.php
+++ b/tests/codeigniter/core/Lang_test.php
@@ -6,6 +6,9 @@ class Lang_test extends CI_TestCase {
public function set_up()
{
+ $loader_cls = $this->ci_core_class('load');
+ $this->ci_instance_var('load', new $loader_cls);
+
$cls = $this->ci_core_class('lang');
$this->lang = new $cls;
}
@@ -14,17 +17,14 @@ class Lang_test extends CI_TestCase {
public function test_load()
{
- // get_config needs work
- $this->markTestIncomplete('get_config needs work');
- //$this->assertTrue($this->lang->load('profiler'));
+ $this->assertTrue($this->lang->load('profiler', 'english'));
}
// --------------------------------------------------------------------
public function test_line()
{
- $this->markTestIncomplete('get_config needs work');
-
+ $this->assertTrue($this->lang->load('profiler', 'english'));
$this->assertEquals('URI STRING', $this->lang->line('profiler_uri_string'));
}