diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2015-09-18 21:58:58 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2015-09-18 21:58:58 +0200 |
| commit | 729cf0b66d9ccaf381a2150f75fb57c1c98c3b4c (patch) | |
| tree | 83db7ddbc4c4bd5d13784a1ec4b6b8621d0697e8 /tests/Lib/Converter/HtmlTest.php | |
| parent | ba4f1f02ea2f99eb2be367530f28e0146fa303f7 (diff) | |
| download | grauphel-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.php | 5 |
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'), |
