refactor: move domain check into small helper util (#1000)

This commit is contained in:
Stavros
2026-07-14 14:20:15 +03:00
committed by GitHub
parent 79bcccbe43
commit e75605b2c5
8 changed files with 510 additions and 39 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/tinyauthapp/tinyauth/internal/utils/logger"
)
func TestOAuthControllerIsRedirectSafe(t *testing.T) {
func TestOAuthController_isRedirectSafe(t *testing.T) {
log := logger.NewLogger().WithTestConfig()
log.Init()