Skip to content

Commit bfe7da6

Browse files
author
Roman Syroeshko
committed
https://github.com/PHPOffice/PHPWord/issues/46
FIXED: last negative test.
1 parent ec5322d commit bfe7da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PHPWord/TemplateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ final public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation(
7171
{
7272
$template = new PHPWord_Template(
7373
\join(\DIRECTORY_SEPARATOR,
74-
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'templates', 'blank.docx'))
74+
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'templates', 'empty_main_document_part.docx'))
7575
);
7676

7777
$xslDOMDocument = new \DOMDocument();
7878
$xslDOMDocument->load(
7979
\join(\DIRECTORY_SEPARATOR,
80-
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'blank.xsl'))
80+
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'passthrough.xsl'))
8181
);
8282

8383
@$template->applyXslStyleSheet($xslDOMDocument);

0 commit comments

Comments
 (0)