summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Parser_test.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-03-28 12:13:52 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-03-28 12:13:52 +0200
commitc8ab5738c920f0daec0af184dbb2f744c3ca9611 (patch)
treead74003a1a758f4c5638f06687f2ee60e534e941 /tests/codeigniter/libraries/Parser_test.php
parenta11b16b1af42bbb4ffbc15eeee50a3d3ceb402d5 (diff)
parentbdb84af43792f507eaab5ab0c4b3ec1be17a1a54 (diff)
Merge pull request #1226 from toopay/unit-tests
Improve Unit tests
Diffstat (limited to 'tests/codeigniter/libraries/Parser_test.php')
-rw-r--r--tests/codeigniter/libraries/Parser_test.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/codeigniter/libraries/Parser_test.php b/tests/codeigniter/libraries/Parser_test.php
index b4580a4b1..c3d88fa85 100644
--- a/tests/codeigniter/libraries/Parser_test.php
+++ b/tests/codeigniter/libraries/Parser_test.php
@@ -1,14 +1,11 @@
<?php
-require BASEPATH.'libraries/Parser.php';
-
-class Parser_test extends CI_TestCase
-{
+class Parser_test extends CI_TestCase {
public function set_up()
{
$obj = new StdClass;
- $obj->parser = new CI_Parser();
+ $obj->parser = new Mock_Libraries_Parser();
$this->ci_instance($obj);