Skip to content

Commit

Permalink
[Zend\Mail] Change Zend\Mime Exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Apr 29, 2012
1 parent 24d140d commit ee1be5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Mail/Storage/MessageTest.php
Expand Up @@ -161,7 +161,7 @@ public function testSplitInvalidMessage()
{
try {
Mime\Decode::splitMessageStruct("--xxx\n", 'xxx');
} catch (\Zend\Mime\Exception $e) {
} catch (\Zend\Mime\Exception\ExceptionInterface $e) {
return; // ok
}

Expand Down Expand Up @@ -229,7 +229,7 @@ public function testSplitInvalidHeader()
$header = '';
try {
Mime\Decode::splitHeaderField($header);
} catch (\Zend\Mime\Exception $e) {
} catch (\Zend\Mime\Exception\ExceptionInterface $e) {
return; // ok
}

Expand Down

0 comments on commit ee1be5b

Please sign in to comment.