adjust remote tests, remove legacy mongo tests

This commit is contained in:
Umputun
2019-06-25 20:06:30 -05:00
parent db6c387fe9
commit 126d2d93da
3 changed files with 9 additions and 19 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import (
)
func TestRemote_Key(t *testing.T) {
ts := testServer(t, `{"method":"admin.key","params":null,"id":1}`,
ts := testServer(t, `{"method":"admin.key","id":1}`,
`{"result":"12345","id":1}`)
defer ts.Close()
c := Remote{Client: remote.Client{API: ts.URL, Client: http.Client{}}}