Skip to content

Commit

Permalink
tests: update to remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
rwhelan committed Sep 26, 2023
1 parent f199c36 commit e780797
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion custom_nameservers.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ func (api *API) UpdateCustomNameserverZoneMetadata(ctx context.Context, rc *Reso

uri := fmt.Sprintf("/%s/%s/custom_ns", rc.Level, rc.Identifier)

params.Type = ""
_, err := api.makeRequestContext(ctx, http.MethodPut, uri, params)
if err != nil {
return err
Expand Down
2 changes: 0 additions & 2 deletions custom_nameservers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ func TestAccountCustomNameserver_GetAccountCustomNameserverZoneMetadata(t *testi
w.Header().Set("content-type", "application/json")
fmt.Fprintf(w, `{
"result": {
"type": "account",
"ns_set": "1",
"enabled": true
},
Expand All @@ -208,7 +207,6 @@ func TestAccountCustomNameserver_GetAccountCustomNameserverZoneMetadata(t *testi

mux.HandleFunc("/zones/"+testZoneID+"/custom_ns", handler)
want := CustomNameserverZoneMetadata{
Type: "account",
NSSet: "1",
Enabled: true,
}
Expand Down

0 comments on commit e780797

Please sign in to comment.