From e5c585135f47108f78954f99e23621fe66c703d3 Mon Sep 17 00:00:00 2001 From: hunterlong Date: Thu, 20 Aug 2020 01:52:16 -0700 Subject: [PATCH] test fix --- handlers/notifiers_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/notifiers_test.go b/handlers/notifiers_test.go index 08d377eb..352b5ab5 100644 --- a/handlers/notifiers_test.go +++ b/handlers/notifiers_test.go @@ -161,7 +161,7 @@ func TestApiNotifiersRoutes(t *testing.T) { Method: "POST", Body: `{ "method": "slack", - "host": "https://slack.api/example/12345", + "host": "https://hooks.slack.com/services/TTJ1B49DP/XBNU09O9M/9uI2123SUnYBuGcxLopZomz9H", "enabled": true, "limits": 55 }`, @@ -173,7 +173,7 @@ func TestApiNotifiersRoutes(t *testing.T) { URL: "/api/notifier/slack", Method: "GET", ExpectedStatus: 200, - ExpectedContains: []string{`"method":"slack"`, `"host":"https://slack.api/example/12345"`}, + ExpectedContains: []string{`"method":"slack"`, `"host":"https://hooks.slack.com/services/TTJ1B49DP/XBNU09O9M/9uI2123SUnYBuGcxLopZomz9H"`}, BeforeTest: SetTestENV, SecureRoute: true, },