From 850cb7c5eb1e229c81bb740358efd3f0e70bde04 Mon Sep 17 00:00:00 2001 From: Kelvin Mwinuka Date: Thu, 27 Jun 2024 04:03:51 +0800 Subject: [PATCH] Added check for readKeys and writeKeys length before checking for authorization in acl module. Added tests for HELLO and SELECT client-server commands --- internal/modules/connection/commands_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/modules/connection/commands_test.go b/internal/modules/connection/commands_test.go index ac8b479..6b33e9e 100644 --- a/internal/modules/connection/commands_test.go +++ b/internal/modules/connection/commands_test.go @@ -565,7 +565,6 @@ func Test_Connection(t *testing.T) { t.Run("Test_HandleSelect", func(t *testing.T) { t.Parallel() - tests := []struct { name string database int