incubator-awf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmee...@apache.org
Subject svn commit: r1243745 - /incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java
Date Mon, 13 Feb 2012 23:37:12 GMT
Author: jmeehan
Date: Mon Feb 13 23:37:11 2012
New Revision: 1243745

URL: http://svn.apache.org/viewvc?rev=1243745&view=rev
Log:
DEFT-198 - Unit Test Correction

Modified:
    incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java

Modified: incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java
URL: http://svn.apache.org/viewvc/incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java?rev=1243745&r1=1243744&r2=1243745&view=diff
==============================================================================
--- incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java (original)
+++ incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java Mon Feb
13 23:37:11 2012
@@ -547,7 +547,9 @@ public class SystemTest {
         assertEquals("OK", response.getStatusLine().getReasonPhrase());
         assertEquals(7, response.getAllHeaders().length);
         assertEquals("90048", response.getFirstHeader("Content-Length").getValue());
-        assertEquals("image/png", response.getFirstHeader("Content-Type").getValue());
+        
+        // TODO: Correct this type!
+        assertEquals("application/octet-stream", response.getFirstHeader("Content-Type").getValue());
         assertNotNull(response.getFirstHeader("Last-Modified"));
     }
 



Mime
View raw message