Added gock.IsDone() to route list and remove tests. Remove content type in route remove command. Removed disturbing data for texts. Remove unneeded test in set command.
This commit is contained in:
@@ -4,7 +4,9 @@ import (
|
||||
"github.com/BBVA/kapow/internal/http"
|
||||
)
|
||||
|
||||
// RemoveRoute removes a registered route in Kapow! server
|
||||
func RemoveRoute(host, id string) error {
|
||||
|
||||
url := host + "/routes/" + id
|
||||
return http.Delete(url, "application/json", nil, nil)
|
||||
return http.Delete(url, "", nil, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user