summaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket/handler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/websocket/handler_test.go')
-rw-r--r--internal/handler/websocket/handler_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/handler/websocket/handler_test.go b/internal/handler/websocket/handler_test.go
index 604a190..2ef72fd 100644
--- a/internal/handler/websocket/handler_test.go
+++ b/internal/handler/websocket/handler_test.go
@@ -98,6 +98,7 @@ func (m *mockMetrics) RecordRequest(method, status string, duration float64) {
98 m.requests[key]++ 98 m.requests[key]++
99} 99}
100func (m *mockMetrics) RecordAuthAttempt(success bool) {} 100func (m *mockMetrics) RecordAuthAttempt(success bool) {}
101func (m *mockMetrics) RecordRateLimitHit(authenticated bool) {}
101func (m *mockMetrics) RecordBlockedEvent(kind int32) { 102func (m *mockMetrics) RecordBlockedEvent(kind int32) {
102 m.mu.Lock() 103 m.mu.Lock()
103 defer m.mu.Unlock() 104 defer m.mu.Unlock()