etag test & fixes; set default etag mode for temp streams to crc32(b)
[m6w6/ext-http] / phpunit / MessageBodyTest.php
index bc07401fa2526b9b3f0e731f96ccfbe5abf0959e..eda54b0b9e416562e4ce0fc47ef585d9a73af03e 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() {