File tree 4 files changed +3
-3
lines changed
4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ class JsonGFromImageTest extends TestCase
18
18
*/
19
19
public function testCanConvertImageBlobToJsonGString (): void
20
20
{
21
- $ testData = fopen (__DIR__ .'/../ resources/demo.png ' , 'rb ' );
21
+ $ testData = fopen (__DIR__ .'/resources/demo.png ' , 'rb ' );
22
22
23
23
$ image = new Imagick ();
24
24
$ image ->readImageFile ($ testData );
25
25
26
26
$ json = JsonG::toJson ($ image );
27
27
28
28
$ this ->assertJson ($ json );
29
- $ this ->assertJsonStringEqualsJsonFile (__DIR__ .'/../ resources/demo.jsng ' , $ json );
29
+ $ this ->assertJsonStringEqualsJsonFile (__DIR__ .'/resources/demo.jsng ' , $ json );
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class JsonGToImageTest extends TestCase
11
11
/* Test whether a JSON-G string can be converted to an image blob string. */
12
12
public function testCanConvertJsonGStringToImageBlob (): void
13
13
{
14
- $ testData = file_get_contents (__DIR__ .'/../ resources/demo.jsng ' );
14
+ $ testData = file_get_contents (__DIR__ .'/resources/demo.jsng ' );
15
15
16
16
$ jsonArray = json_decode ($ testData , true );
17
17
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments