File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ public function testGetExifFromFile()
6969 $ file = PHPEXIF_TEST_ROOT . '/files/morning_glory_pool_500.jpg ' ;
7070 $ result = $ this ->adapter ->getExifFromFile ($ file );
7171 $ this ->assertInstanceOf ('\PHPExif\Exif ' , $ result );
72+ $ this ->assertInternalType ('array ' , $ result ->getRawData ());
73+ $ this ->assertNotEmpty ($ result ->getRawData ());
7274 }
7375
7476 /**
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ public function testGetExifFromFileHasData()
117117 $ file = PHPEXIF_TEST_ROOT . '/files/morning_glory_pool_500.jpg ' ;
118118 $ result = $ this ->adapter ->getExifFromFile ($ file );
119119 $ this ->assertInstanceOf ('\PHPExif\Exif ' , $ result );
120+ $ this ->assertInternalType ('array ' , $ result ->getRawData ());
121+ $ this ->assertNotEmpty ($ result ->getRawData ());
120122 }
121123
122124 /**
You can’t perform that action at this time.
0 commit comments