Skip to content

Commit a9df2d7

Browse files
committed
Fix: image path
1 parent 368658a commit a9df2d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpWordTests/Writer/WPS/MediaTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testGetElements(): void
3131

3232
public function testAddElement(): void
3333
{
34-
$imagePath = __DIR__ . 'tests/PhpWordTests/_files/images/earth.jpg';
34+
$imagePath = 'tests/PhpWordTests/_files/images/earth.jpg';
3535
$imageElement = new Image($imagePath);
3636

3737
// Add section media
@@ -78,7 +78,7 @@ public function testAddElement(): void
7878

7979
public function testClearElements(): void
8080
{
81-
$imagePath = __DIR__ . 'tests/PhpWordTests/_files/images/earth.jpg';
81+
$imagePath = 'tests/PhpWordTests/_files/images/earth.jpg';
8282
$sectionImage = new Image($imagePath);
8383
$headerImage = new Image($imagePath);
8484

0 commit comments

Comments
 (0)