From 550275d35038ebc6c6bc0d4cb9b97a95ece662ca Mon Sep 17 00:00:00 2001
From: Thorsten Vitt <thorsten.vitt@uni-wuerzburg.de>
Date: Mon, 9 Sep 2013 18:16:50 +0200
Subject: [PATCH] Adjusted HTML IT to accept text/xml

---
 .../java/info/textgrid/services/aggregator/html/HtmlIT.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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 712473c..94bacb3 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);
 	}
 
-- 
GitLab