Fix method used in client.AddRoute()
Co-authored-by: César Gallego <gallego.cesar@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func TestSuccessOnCorrectRoute(t *testing.T) {
|
||||
defer gock.Off()
|
||||
gock.New("http://localhost").
|
||||
Put("/routes").
|
||||
Post("/routes").
|
||||
MatchType("json").
|
||||
JSON(map[string]string{
|
||||
"method": "GET",
|
||||
|
||||
Reference in New Issue
Block a user