Skip to content

Commit f3bb9b4

Browse files
committed
test: fix paths to cause exception in ci
Fix paths to cause exception in continuous integration. #15
1 parent 723afa0 commit f3bb9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/JsonTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function constructorShouldThrowExceptionIfPathIsWrong(): void
8383
{
8484
$this->expectException(CreateDirectoryException::class);
8585

86-
new Json(__DIR__ . '/foo:/filename.json');
86+
new Json('/foo:/filename.json');
8787
}
8888

8989
/**
@@ -94,7 +94,7 @@ public function constructorShouldThrowExceptionIfFilenameIsWrong(): void
9494
{
9595
$this->expectException(CreateFileException::class);
9696

97-
new Json(__DIR__ . '/file:name.json');
97+
new Json('/file:name.json');
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)