Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5249dba

Browse files
authoredJul 25, 2016
Update test expectations when no exif data
1 parent 49bb2d3 commit 5249dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/PHPExif/Adapter/NativeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ public function testAddRequiredSection()
103103
/**
104104
* @group native
105105
* @covers \PHPExif\Adapter\Native::getExifFromFile
106-
* @expectedException RuntimeException
107106
*/
108107
public function testGetExifFromFileNoData()
109108
{
110109
$file = PHPEXIF_TEST_ROOT . '/files/empty.jpg';
111-
$this->adapter->getExifFromFile($file);
110+
$result = $this->adapter->getExifFromFile($file);
111+
$this->assertFalse($result);
112112
}
113113

114114
/**

0 commit comments

Comments
 (0)
Please sign in to comment.