summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Table_test.php
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-03-28 11:03:38 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-03-28 11:03:38 +0200
commitac5373a8979537f5454af6b911108541140a35d7 (patch)
tree1c44501569f2c55031325aa58d8d6ab9ffa35503 /tests/codeigniter/libraries/Table_test.php
parentca16c4ff1aa0cf5ebfbe877e9be755c0b7d2061c (diff)
Adding core and libraries mock classes
Diffstat (limited to 'tests/codeigniter/libraries/Table_test.php')
-rw-r--r--tests/codeigniter/libraries/Table_test.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/codeigniter/libraries/Table_test.php b/tests/codeigniter/libraries/Table_test.php
index 0208a465a..7d0e4087f 100644
--- a/tests/codeigniter/libraries/Table_test.php
+++ b/tests/codeigniter/libraries/Table_test.php
@@ -1,14 +1,11 @@
<?php
-require BASEPATH.'libraries/Table.php';
-
-class Table_test extends CI_TestCase
-{
+class Table_test extends CI_TestCase {
public function set_up()
{
$obj = new StdClass;
- $obj->table = new CI_table();
+ $obj->table = new Mock_Libraries_Table();
$this->ci_instance($obj);