summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Table_test.php
diff options
context:
space:
mode:
authordchill42 <dchill42@gmail.com>2012-10-12 22:25:51 +0200
committerdchill42 <dchill42@gmail.com>2012-10-12 22:25:51 +0200
commit7ecc5cda6647a4b316b44dc40d5925d9ef63c908 (patch)
treee0d0e0c57bb911fc9690db4a85014b7a72e32300 /tests/codeigniter/libraries/Table_test.php
parent2716398bd2f2ae36d7420c591fc759e0951ba0e2 (diff)
Integrated vfsStream better and made paths constants VFS-based
Signed-off-by: dchill42 <dchill42@gmail.com>
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