diff --git a/internal/api/api_test.go b/internal/api/api_test.go index d4b4d5740..78718eddd 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -3,13 +3,14 @@ package api import ( "bytes" "encoding/json" - "github.com/photoprism/photoprism/internal/form" "net/http" "net/http/httptest" "os" "strings" "testing" + "github.com/photoprism/photoprism/internal/form" + "github.com/gin-gonic/gin" "github.com/photoprism/photoprism/internal/config" "github.com/photoprism/photoprism/internal/service" diff --git a/internal/api/session_test.go b/internal/api/session_test.go index 2e4cbcac0..f8419dc34 100644 --- a/internal/api/session_test.go +++ b/internal/api/session_test.go @@ -2,10 +2,11 @@ package api import ( "encoding/json" - "github.com/photoprism/photoprism/internal/form" "net/http" "testing" + "github.com/photoprism/photoprism/internal/form" + "github.com/photoprism/photoprism/internal/i18n" "github.com/stretchr/testify/assert" "github.com/tidwall/gjson"