Skip to content
Snippets Groups Projects
Commit 550275d3 authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

Adjusted HTML IT to accept text/xml

parent fda1996e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment