Skip to content

Commit 26c54a7

Browse files
committed
Merge pull request #13 from cainmi/test-error-fix
Fix testing issue in newer version of PHPUnit
2 parents 8a1773b + 0868818 commit 26c54a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public function testLoadPng() {
3737
}
3838

3939
/**
40-
* @expectedException Exception
41-
* @expectedExceptionMessage getimagesize(): Filename cannot be empty
40+
* @expectedException PHPUnit_Framework_Error
41+
* @expectedExceptionMessage Filename cannot be empty
4242
*/
4343
public function testLoadNoFile() {
4444
new ImageResize(null);

0 commit comments

Comments
 (0)