From ff1c63bc7f7427a53fd945d3742b6f605441c2de Mon Sep 17 00:00:00 2001 From: Stavros Date: Sun, 29 Mar 2026 20:41:44 +0300 Subject: [PATCH] tests: fix get cookie domain tests --- internal/utils/app_utils_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/utils/app_utils_test.go b/internal/utils/app_utils_test.go index 2af078e..5ca545d 100644 --- a/internal/utils/app_utils_test.go +++ b/internal/utils/app_utils_test.go @@ -25,12 +25,6 @@ func TestGetRootDomain(t *testing.T) { assert.NilError(t, err) assert.Equal(t, expected, result) - // Domain with no subdomain - domain = "http://tinyauth.app" - expected = "tinyauth.app" - _, err = utils.GetCookieDomain(domain) - assert.Error(t, err, "invalid app url, must be at least second level domain") - // Invalid domain (only TLD) domain = "com" _, err = utils.GetCookieDomain(domain)