Add helper
This commit is contained in:
parent
62318331a3
commit
e62f1adaae
3 changed files with 49 additions and 2 deletions
|
@ -34,8 +34,6 @@ func TestAccountUpdate(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func String(v string) *string { return &v }
|
||||
|
||||
func TestGetBlocks(t *testing.T) {
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintln(w, `[{"Username": "foo"}, {"Username": "bar"}]`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue