add test case for issue #1253
This commit is contained in:
parent
7f55816eba
commit
7eb19c8f76
|
|
@ -276,4 +276,14 @@ final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function testMainPartNameDetection()
|
||||
{
|
||||
$templatePath = 'templates/document22-xml.docx';
|
||||
$templateProcessor = new TemplateProcessor($templatePath);
|
||||
|
||||
$variables = array('test');
|
||||
|
||||
$this->assertEquals($variables, $templateProcessor->getVariables());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue