Permalink
Browse files

[Zend\Mail] Change Zend\Mime Exceptions

  • Loading branch information...
1 parent 24d140d commit ee1be5b91df9ecd81971cc46283f09ad0f33c8ac @Maks3w Maks3w committed Apr 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Zend/Mail/Storage/MessageTest.php
View
4 tests/Zend/Mail/Storage/MessageTest.php
@@ -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
}
@@ -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
}

0 comments on commit ee1be5b

Please sign in to comment.