summaryrefslogtreecommitdiffstats
path: root/internal/auth/auth_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/auth/auth_test.go')
-rw-r--r--internal/auth/auth_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go
index 7b0fa13..68c68f5 100644
--- a/internal/auth/auth_test.go
+++ b/internal/auth/auth_test.go
@@ -243,11 +243,11 @@ func TestValidateAuthFromContext(t *testing.T) {
243 ctx := metadata.NewIncomingContext(context.Background(), md) 243 ctx := metadata.NewIncomingContext(context.Background(), md)
244 244
245 opts := &InterceptorOptions{ 245 opts := &InterceptorOptions{
246 Read: OperationAuthConfig{ 246 Read: AuthOperationConfig{
247 Enabled: true, 247 Enabled: true,
248 AllowedNpubs: nil, 248 AllowedNpubs: nil,
249 }, 249 },
250 Write: OperationAuthConfig{ 250 Write: AuthOperationConfig{
251 Enabled: true, 251 Enabled: true,
252 AllowedNpubs: nil, 252 AllowedNpubs: nil,
253 }, 253 },