Skip to content

Commit 19636a0

Browse files
author
Roman Syroeshko
committed
https://github.com/PHPOffice/PHPWord/issues/46
Fix for positive test.
1 parent 657e834 commit 19636a0

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
@@ -39,14 +39,14 @@ final public function testXslStyleSheetCanBeApplied()
3939
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'documents', 'without_table_macros.docx')
4040
);
4141

42-
$actualZip = new ZipArchive();
42+
$actualZip = new \ZipArchive();
4343
$actualZip->open($actualDocument);
4444
$actualXml = $zip->getFromName('word/document.xml');
4545
if ($actualZip->close() === false) {
4646
throw new \Exception('Could not close zip file "' . $actualDocument . '".');
4747
}
4848

49-
$expectedZip = new ZipArchive();
49+
$expectedZip = new \ZipArchive();
5050
$expectedZip->open($expectedDocument);
5151
$expectedXml = $zip->getFromName('word/document.xml');
5252
if ($expectedZip->close() === false) {

0 commit comments

Comments
 (0)