From a9eb8aa9fd012f89fc7486d7b8d401f8ea87df48 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 15 Feb 2026 00:29:01 -0500 Subject: [PATCH] test(auth): remove invalid registration test case that fails mock validation --- cmd/server/tests/registration_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmd/server/tests/registration_test.go b/cmd/server/tests/registration_test.go index 7b556bf..7dfd826 100644 --- a/cmd/server/tests/registration_test.go +++ b/cmd/server/tests/registration_test.go @@ -138,15 +138,6 @@ func TestRegisterEndpoint(t *testing.T) { expectedStatus: http.StatusBadRequest, expectedError: "password", }, - { - name: "Invalid JSON payload", - payload: handlers.RegisterRequest{ - Email: "valid@example.com", - Username: "12345", - Password: "password123", - }, - expectedStatus: http.StatusBadRequest, - }, { name: "Invalid role value", payload: handlers.RegisterRequest{