From bfe7da63fc4b814ce44396065c6ad26ded5afaef Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Mon, 3 Mar 2014 20:16:59 +0400 Subject: [PATCH] https://github.com/PHPOffice/PHPWord/issues/46 FIXED: last negative test. --- Tests/PHPWord/TemplateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/PHPWord/TemplateTest.php b/Tests/PHPWord/TemplateTest.php index c821323b..748c8d77 100644 --- a/Tests/PHPWord/TemplateTest.php +++ b/Tests/PHPWord/TemplateTest.php @@ -71,13 +71,13 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase { $template = new PHPWord_Template( \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->load( \join(\DIRECTORY_SEPARATOR, - array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'blank.xsl')) + array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'passthrough.xsl')) ); @$template->applyXslStyleSheet($xslDOMDocument);