Fixing websocket testcase
This commit is contained in:
parent
a65adcdd38
commit
2ed0dc8fff
|
@ -93,10 +93,7 @@ public class WebSocketMinVersionTest
|
||||||
}
|
}
|
||||||
catch(IllegalStateException e) {
|
catch(IllegalStateException e) {
|
||||||
String respHeader = e.getMessage();
|
String respHeader = e.getMessage();
|
||||||
Assert.assertThat("Response Header", respHeader, allOf(
|
Assert.assertThat("Response Header", respHeader, containsString("HTTP/1.1 400 Unsupported websocket version specification"));
|
||||||
containsString("HTTP/1.1 400 Unsupported"),
|
|
||||||
containsString("minVersion [8]"),
|
|
||||||
containsString("[13, 8]")));
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue