Fix path to test document

This commit is contained in:
troosan 2018-11-16 22:40:37 +01:00 committed by GitHub
parent e19de8e8a4
commit 9f28ece4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -279,8 +279,7 @@ final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
public function testMainPartNameDetection() public function testMainPartNameDetection()
{ {
$templatePath = 'templates/document22-xml.docx'; $templateProcessor = new TemplateProcessor(__DIR__ . '/_files/templates/document22-xml.docx');
$templateProcessor = new TemplateProcessor($templatePath);
$variables = array('test'); $variables = array('test');