FIXED: last negative test.
This commit is contained in:
Roman Syroeshko 2014-03-03 20:16:59 +04:00
parent ec5322d9ab
commit bfe7da63fc

View File

@ -71,13 +71,13 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase
{ {
$template = new PHPWord_Template( $template = new PHPWord_Template(
\join(\DIRECTORY_SEPARATOR, \join(\DIRECTORY_SEPARATOR,
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'templates', 'blank.docx')) array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'templates', 'empty_main_document_part.docx'))
); );
$xslDOMDocument = new \DOMDocument(); $xslDOMDocument = new \DOMDocument();
$xslDOMDocument->load( $xslDOMDocument->load(
\join(\DIRECTORY_SEPARATOR, \join(\DIRECTORY_SEPARATOR,
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'blank.xsl')) array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'passthrough.xsl'))
); );
@$template->applyXslStyleSheet($xslDOMDocument); @$template->applyXslStyleSheet($xslDOMDocument);