summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Table_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-23 08:35:59 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-23 08:35:59 +0200
commitbf93f9397fbae4535fba661f561bf545c903ca8a (patch)
treebf74e17b593db9c242238598e79af979dd9556e5 /tests/codeigniter/libraries/Table_test.php
parentf5f898f8f30968fb36413a14de2dc6a4599b79a6 (diff)
parent8889db7e1b1768ecfb76e9e73598541042a9edc1 (diff)
Merge pull request #1744 from dchill42/load_config_units
Loader and Config Unit Test Improvements
Diffstat (limited to 'tests/codeigniter/libraries/Table_test.php')
-rw-r--r--tests/codeigniter/libraries/Table_test.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/codeigniter/libraries/Table_test.php b/tests/codeigniter/libraries/Table_test.php
index edfc83dd0..ce04b6a6d 100644
--- a/tests/codeigniter/libraries/Table_test.php
+++ b/tests/codeigniter/libraries/Table_test.php
@@ -4,12 +4,8 @@ class Table_test extends CI_TestCase {
public function set_up()
{
- $obj = new stdClass;
- $obj->table = new Mock_Libraries_Table();
-
- $this->ci_instance($obj);
-
- $this->table = $obj->table;
+ $this->table = new Mock_Libraries_Table();
+ $this->ci_instance_var('table', $this->table);
}
// Setter Methods