We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49bb2d3 commit 5249dbaCopy full SHA for 5249dba
tests/PHPExif/Adapter/NativeTest.php
@@ -103,12 +103,12 @@ public function testAddRequiredSection()
103
/**
104
* @group native
105
* @covers \PHPExif\Adapter\Native::getExifFromFile
106
- * @expectedException RuntimeException
107
*/
108
public function testGetExifFromFileNoData()
109
{
110
$file = PHPEXIF_TEST_ROOT . '/files/empty.jpg';
111
- $this->adapter->getExifFromFile($file);
+ $result = $this->adapter->getExifFromFile($file);
+ $this->assertFalse($result);
112
}
113
114
0 commit comments