projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf0ec8
)
Adapt testing to recent changes in the Mime library.
author
Gunnar Wrobel
<p@rdus.de>
Mon, 13 Sep 2010 11:19:21 +0000
(13:19 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 13 Sep 2010 11:19:21 +0000
(13:19 +0200)
framework/Itip/test/Horde/Itip/Integration/ItipTest.php
patch
|
blob
|
history
diff --git
a/framework/Itip/test/Horde/Itip/Integration/ItipTest.php
b/framework/Itip/test/Horde/Itip/Integration/ItipTest.php
index
e41e1c7
..
b7a0ed8
100644
(file)
--- a/
framework/Itip/test/Horde/Itip/Integration/ItipTest.php
+++ b/
framework/Itip/test/Horde/Itip/Integration/ItipTest.php
@@
-323,10
+323,7
@@
extends PHPUnit_Framework_TestCase
);
$mail = '';
$mail .= $this->_transport->sentMessages[0]['header_text'] . "\n\n";
- $body = $this->_transport->sentMessages[0]['body'];
- while (!feof($body)) {
- $mail .= fread($body, 8192);
- }
+ $mail .= $this->_transport->sentMessages[0]['body'];
$part = Horde_Mime_Part::parseMessage($mail);
$this->assertEquals(2, count($part->getParts()));
}