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 9982aea..10405b2 100644
--- a/internal/handler/websocket/handler_test.go
+++ b/internal/handler/websocket/handler_test.go
@@ -97,6 +97,7 @@ func (m *mockMetrics) RecordRequest(method, status string, duration float64) {
97 key := fmt.Sprintf("%s:%s", method, status) 97 key := fmt.Sprintf("%s:%s", method, status)
98 m.requests[key]++ 98 m.requests[key]++
99} 99}
100func (m *mockMetrics) RecordAuthAttempt(success bool) {}
100func (m *mockMetrics) RecordBlockedEvent(kind int32) { 101func (m *mockMetrics) RecordBlockedEvent(kind int32) {
101 m.mu.Lock() 102 m.mu.Lock()
102 defer m.mu.Unlock() 103 defer m.mu.Unlock()