From 17e0fc2625af2422687644b72d5aa0c6f5aafa54 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 6 Feb 2026 13:55:28 -0500 Subject: [PATCH] test: fix test login password to match bcrypt hash Fixed loginTestUser to use 'Test@Pass123!' (with @ symbol) to match the bcrypt hash that was generated using Go's golang.org/x/crypto/bcrypt library. --- cmd/server/tests/test_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server/tests/test_helpers.go b/cmd/server/tests/test_helpers.go index 5c491fb..f8f4a9c 100644 --- a/cmd/server/tests/test_helpers.go +++ b/cmd/server/tests/test_helpers.go @@ -203,7 +203,7 @@ func loginTestUser(t *testing.T, ts *httptest.Server, db *database.Queries) stri loginRequest := map[string]interface{}{ "login": "testuser@example.com", - "password": "TestPass123!", + "password": "Test@Pass123!", } body, _ := json.Marshal(loginRequest)