Remove multi-user auth

This commit is contained in:
simon987
2019-03-09 12:44:15 -05:00
parent 04f2ff8900
commit e2ba51b77a
5 changed files with 4 additions and 108 deletions

View File

@@ -1,24 +1 @@
package test
import (
"github.com/simon987/ws_bucket/api"
"testing"
)
func TestCreateClient(t *testing.T) {
r := createClient(api.CreateClientRequest{
Alias: "testcreateclient",
})
if r.Ok != true {
t.Error()
}
}
func createClient(request api.CreateClientRequest) (ar *api.CreateClientResponse) {
resp := Post("/client", request)
UnmarshalResponse(resp, &ar)
return
}