server: add additional test

This commit is contained in:
aler9
2021-03-28 11:44:24 +02:00
parent 47a8adc532
commit c9282a10af
4 changed files with 142 additions and 9 deletions

View File

@@ -416,7 +416,7 @@ func TestServerCSeq(t *testing.T) {
require.Equal(t, base.HeaderValue{"5"}, res.Header["CSeq"])
}
func TestServerCSeqNo(t *testing.T) {
func TestServerCSeqMissing(t *testing.T) {
s, err := Serve("127.0.0.1:8554")
require.NoError(t, err)
defer s.Close()