Skip to content

Commit b266d7c

Browse files
committed
better top comment
1 parent 2c0aa69 commit b266d7c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/sip/service_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,8 @@ func TestDigestAuthStandardFlow(t *testing.T) {
624624
}
625625
}
626626

627-
// TestCANCELSendsBothResponses verifies that when a CANCEL is received for an INVITE,
628-
// the server sends both:
629-
// 1. 200 OK response to the CANCEL request
630-
// 2. 487 Request Terminated response to the original INVITE
627+
// When a cancel request is sent, we expect two responses, 200 (for CANCEL), and 487 (for INVITE).
628+
// This test makes sure the 487 response is received (can't test CANCEL-200)
631629
func TestCANCELSendsBothResponses(t *testing.T) {
632630
const (
633631
fromUser = "[email protected]"

0 commit comments

Comments
 (0)