We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a7350 commit 69faae1Copy full SHA for 69faae1
tests/PhpWordTests/Reader/Html/HTMLTest.php renamed to tests/PhpWordTests/Reader/HTMLTest.php
@@ -16,7 +16,7 @@
16
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
17
*/
18
19
-namespace PhpOffice\PhpWordTests\Reader\Html;
+namespace PhpOffice\PhpWordTests\Reader;
20
21
use Exception;
22
use PhpOffice\PhpWord\IOFactory;
@@ -35,7 +35,7 @@ class HTMLTest extends \PHPUnit\Framework\TestCase
35
36
public function testLoad(): void
37
{
38
- $filename = 'tests/PhpWordTests/_files/documents/reader.html';
+ $filename = __DIR__ . '/../_files/documents/reader.html';
39
$phpWord = IOFactory::load($filename, 'HTML');
40
self::assertInstanceOf('PhpOffice\\PhpWord\\PhpWord', $phpWord);
41
}
0 commit comments