Skip to content

Commit 04b14ea

Browse files
committed
Fix Writer\Word2007\BaseTest error
1 parent 20b363f commit 04b14ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PhpWord/Tests/Writer/Word2007/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function testWriteImage()
161161

162162
$archiveFile = realpath(__DIR__ . '/../../_files/documents/reader.docx');
163163
$imageFile = 'word/media/image1.jpeg';
164-
$source = 'zip://D:\www\local\phpword\tests\PhpWord\Tests\_files\documents\reader.docx#' . $imageFile;
164+
$source = 'zip://' . $archiveFile . '#' . $imageFile;
165165
$section->addImage($source);
166166

167167
$doc = TestHelperDOCX::getDocument($phpWord);

0 commit comments

Comments
 (0)