Skip to content

Commit b0a1e07

Browse files
committed
Update test_helpers_test.go
1 parent 9f79d7d commit b0a1e07

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/handlers/test_helpers_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ const testJwtSecret = "test-secret-for-jwt-please-change" // Consistent secret f
1919
// - AuthMiddleware (configured with test secret and user repo)
2020
// - Mux Router
2121
func setupBaseTest(t *testing.T) (*users.MockUserRepository, *auth.Middleware, *mux.Router) {
22-
t * testing.T // Ensure t is used or remove if not needed directly
2322
mockUserRepo := new(users.MockUserRepository)
24-
// Use a fixed expiry for consistency in tests, can be overridden if needed
2523
authMiddleware := auth.NewMiddleware(testJwtSecret, mockUserRepo)
2624
router := mux.NewRouter()
2725

0 commit comments

Comments
 (0)