aboutsummaryrefslogtreecommitdiff
path: root/tests/Lib/Converter/HtmlTest.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2015-09-18 21:58:58 +0200
committerChristian Weiske <cweiske@cweiske.de>2015-09-18 21:58:58 +0200
commit729cf0b66d9ccaf381a2150f75fb57c1c98c3b4c (patch)
tree83db7ddbc4c4bd5d13784a1ec4b6b8621d0697e8 /tests/Lib/Converter/HtmlTest.php
parentba4f1f02ea2f99eb2be367530f28e0146fa303f7 (diff)
downloadgrauphel-729cf0b66d9ccaf381a2150f75fb57c1c98c3b4c.tar.gz
grauphel-729cf0b66d9ccaf381a2150f75fb57c1c98c3b4c.zip
Add travis-ci.org configuration
Diffstat (limited to 'tests/Lib/Converter/HtmlTest.php')
-rw-r--r--tests/Lib/Converter/HtmlTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Lib/Converter/HtmlTest.php b/tests/Lib/Converter/HtmlTest.php
index 0a66ee4..b02e39c 100644
--- a/tests/Lib/Converter/HtmlTest.php
+++ b/tests/Lib/Converter/HtmlTest.php
@@ -1,4 +1,5 @@
<?php
+require_once __DIR__ . '/../../../lib/converter/base.php';
require_once __DIR__ . '/../../../lib/converter/html.php';
class Lib_Converter_HtmlTest extends PHPUnit_Framework_TestCase
@@ -7,7 +8,7 @@ class Lib_Converter_HtmlTest extends PHPUnit_Framework_TestCase
{
$input = file_get_contents(__DIR__ . '/../../data/formattest.tomboynotecontent');
- $converter = new OCA\Grauphel\Lib\Converter\Html();
+ $converter = new OCA\Grauphel\Converter\Html();
$output = $converter->convert($input);
$this->assertEquals(
file_get_contents(__DIR__ . '/../../data/formattest.html'),
@@ -19,7 +20,7 @@ class Lib_Converter_HtmlTest extends PHPUnit_Framework_TestCase
{
$input = file_get_contents(__DIR__ . '/../../data/xss.tomboynotecontent');
- $converter = new OCA\Grauphel\Lib\Converter\Html();
+ $converter = new OCA\Grauphel\Converter\Html();
$output = $converter->convert($input);
$this->assertEquals(
file_get_contents(__DIR__ . '/../../data/xss.html'),