blob: 46b8ca129c7d617dad1fcfd0294d50293800ebec [file] [log] [blame]
package tokens
import (
"net/http"
"net/http/httptest"
)
var (
mux *http.ServeMux
server *httptest.Server
)
func setup() {
mux = http.NewServeMux()
server = httptest.NewServer(mux)
}
func teardown() {
server.Close()
}
func endpoint() string {
return server.URL + "/"
}