diff --git a/src/test/java/info/textgrid/services/aggregator/html/HtmlIT.java b/src/test/java/info/textgrid/services/aggregator/html/HtmlIT.java index 712473c4751b6e90d856d184d180ed56cbe4bbfb..94bacb3dd1cbf0c8bba6427fbc646b1946b6f0b8 100644 --- a/src/test/java/info/textgrid/services/aggregator/html/HtmlIT.java +++ b/src/test/java/info/textgrid/services/aggregator/html/HtmlIT.java @@ -5,8 +5,7 @@ import java.io.IOException; import java.net.HttpURLConnection; -import junit.framework.Assert; - +import org.junit.Assert; import org.junit.Test; @@ -17,7 +16,7 @@ public void testGet() throws IOException { final HttpURLConnection connection = createRequest("/html/textgrid:jfst.0"); connection.connect(); Assert.assertEquals(200, connection.getResponseCode()); - Assert.assertEquals("text/html", connection.getContentType()); + Assert.assertEquals("text/xml", connection.getContentType()); Assert.assertTrue("Content length > 0", readContents(connection) > 0); }