Fix linter

This commit is contained in:
binwiederhier 2023-11-16 21:04:49 -05:00
parent 22f48c5ad3
commit b65044712b
4 changed files with 3 additions and 12 deletions

View file

@ -7,13 +7,8 @@ import (
"net/http"
"path/filepath"
"testing"
"time"
)
func init() {
rand.Seed(time.Now().UnixMilli())
}
// StartServer starts a server.Server with a random port and waits for the server to be up
func StartServer(t *testing.T) (*server.Server, int) {
return StartServerWithConfig(t, server.NewConfig())