Skip to content

Commit

Permalink
update matching test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Feb 19, 2024
1 parent 21df5c1 commit 984abaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registrar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestRegistrarDomains(t *testing.T) {
defer teardown()

handler := func(w http.ResponseWriter, r *http.Request) {
assert.Equal(t, http.MethodPost, r.Method, "Expected method 'POST', got %s", r.Method)
assert.Equal(t, http.MethodGet, r.Method, "Expected method 'GET', got %s", r.Method)
w.Header().Set("content-type", "application/json")
fmt.Fprintf(w, `{
"success": true,
Expand Down

0 comments on commit 984abaa

Please sign in to comment.