summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Typography_test.php
diff options
context:
space:
mode:
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);