mirror of
https://github.com/pikami/cosmium.git
synced 2024-11-25 23:17:36 +00:00
18 lines
289 B
Go
18 lines
289 B
Go
package tests_test
|
|
|
|
import (
|
|
"net/http/httptest"
|
|
|
|
"github.com/pikami/cosmium/api"
|
|
)
|
|
|
|
func runTestServer() *httptest.Server {
|
|
return httptest.NewServer(api.CreateRouter())
|
|
}
|
|
|
|
const (
|
|
testAccountKey = "account-key"
|
|
testDatabaseName = "test-db"
|
|
testCollectionName = "test-coll"
|
|
)
|