summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Typography_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/Typography_test.php
parentca16c4ff1aa0cf5ebfbe877e9be755c0b7d2061c (diff)
Adding core and libraries mock classes
Diffstat (limited to 'tests/codeigniter/libraries/Typography_test.php')
-rw-r--r--tests/codeigniter/libraries/Typography_test.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/codeigniter/libraries/Typography_test.php b/tests/codeigniter/libraries/Typography_test.php
index a0533bae0..250aefb24 100644
--- a/tests/codeigniter/libraries/Typography_test.php
+++ b/tests/codeigniter/libraries/Typography_test.php
@@ -1,14 +1,11 @@
<?php
-require BASEPATH.'libraries/Typography.php';
-
-class Typography_test extends CI_TestCase
-{
+class Typography_test extends CI_TestCase {
public function set_up()
{
$obj = new StdClass;
- $obj->type = new CI_Typography();
+ $obj->type = new Mock_Libraries_Typography();
$this->ci_instance($obj);