From 3c8c05b162d7ff78e6e473e39b02f4f785110770 Mon Sep 17 00:00:00 2001 From: Victor Castell Date: Fri, 7 Sep 2018 17:29:45 +0200 Subject: [PATCH] Swap testing site webhook.site urls are ephemeral thus making tests fail after some time. --- builtin/bins/dkron-executor-http/http_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/bins/dkron-executor-http/http_test.go b/builtin/bins/dkron-executor-http/http_test.go index ab404a310..743c79c0f 100644 --- a/builtin/bins/dkron-executor-http/http_test.go +++ b/builtin/bins/dkron-executor-http/http_test.go @@ -12,7 +12,7 @@ func TestExecute(t *testing.T) { JobName: "testJob", Config: map[string]string{ "method": "GET", - "url": "https://webhook.site/2a570753-499b-4c08-a8d5-d20f9b625ea8", + "url": "https://httpbin.org/get", "expectCode": "200", "debug": "true", }, @@ -31,7 +31,7 @@ func TestExecutePost(t *testing.T) { JobName: "testJob", Config: map[string]string{ "method": "POST", - "url": "https://webhook.site/2a570753-499b-4c08-a8d5-d20f9b625ea8", + "url": "https://httpbin.org/post", "body": "{\"hello\":11}", "headers": "[\"Content-Type:application/json\"]", "expectCode": "200",