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

Fixed HTML SID test. assume and assert do look alike …

parent 4d5b91f5
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,8 @@ public void testSid() throws IOException {
assumeThat(getSid(), not(""));
final HttpURLConnection connection = createRequest("/html/textgrid:1zzbt.0?sid=" + getSid());
connection.connect();
assumeThat(connection.getResponseCode(), is(200));
assumeThat(connection.getContentType(), is("text/html"));
assertThat(connection.getResponseCode(), is(200));
assertThat(connection.getContentType(), is("text/html"));
ByteStreams.copy(connection.getInputStream(), ByteStreams.nullOutputStream());
}
......
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