From c3801236023425f8f437857857ed262cf35e8516 Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 17 Jun 2026 18:56:34 +0300 Subject: [PATCH] chore: fix typos in test descriptions --- internal/controller/oidc_controller_test.go | 2 +- internal/controller/user_controller_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controller/oidc_controller_test.go b/internal/controller/oidc_controller_test.go index 8c049727..b22ddc54 100644 --- a/internal/controller/oidc_controller_test.go +++ b/internal/controller/oidc_controller_test.go @@ -210,7 +210,7 @@ func TestOIDCController(t *testing.T) { // --- authorize-complete --- { - description: "Shoud fail if oidc is disabled", + description: "Should fail if oidc is disabled", oidcDisabled: true, run: func(t *testing.T, router *gin.Engine, recorder *httptest.ResponseRecorder) { body, err := json.Marshal(AuthorizeCompleteRequest{Ticket: "some-ticket"}) diff --git a/internal/controller/user_controller_test.go b/internal/controller/user_controller_test.go index d4cb2c0c..4f081b9b 100644 --- a/internal/controller/user_controller_test.go +++ b/internal/controller/user_controller_test.go @@ -290,7 +290,7 @@ func TestUserController(t *testing.T) { }, }, { - description: "TOTP should gracefuly reject invalid json", + description: "TOTP should gracefully reject invalid json", middlewares: []gin.HandlerFunc{}, run: func(t *testing.T, router *gin.Engine, recorder *httptest.ResponseRecorder) { req := httptest.NewRequest("POST", "/api/user/totp", strings.NewReader(`{"code":`))