1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

chore: removes unused imports

This commit is contained in:
Amir Raminfar
2025-04-09 15:17:42 -07:00
parent b779998476
commit d22e6f9014
5 changed files with 4 additions and 20 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/amir20/dozzle/internal/auth"
"github.com/beme/abide"
"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/spf13/afero"
@@ -86,7 +86,7 @@ func Test_createRoutes_simple_valid_token(t *testing.T) {
assert.Equal(t, rr.Code, 200)
cookie := rr.Header().Get("Set-Cookie")
assert.Matches(t, cookie, "jwt=.+")
assert.Regexp(t, `jwt=.+`, cookie)
}
func Test_createRoutes_simple_bad_password(t *testing.T) {