etag test & fixes; set default etag mode for temp streams to crc32(b)
[m6w6/ext-http] / phpunit / MessageBodyTest.php
index bc07401..eda54b0 100644 (file)
@@ -87,7 +87,7 @@ class MessageBodyTest extends PHPUnit_Framework_TestCase {
             ),
             $this->file->etag()
         );
-        $this->assertEquals(md5(""), $this->temp->etag());
+        $this->assertEquals(crc32(""), $this->temp->etag());
     }
 
     function testToStream() {