diff options
Diffstat (limited to 'app/plugin/jira/webhook_test.go')
-rw-r--r-- | app/plugin/jira/webhook_test.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/plugin/jira/webhook_test.go b/app/plugin/jira/webhook_test.go deleted file mode 100644 index 25918657e..000000000 --- a/app/plugin/jira/webhook_test.go +++ /dev/null @@ -1,16 +0,0 @@ -package jira - -import ( - "testing" - - "github.com/stretchr/testify/assert" -) - -func TestWebhookJIRAURL(t *testing.T) { - var w Webhook - w.Issue.Self = "http://localhost:8080/rest/api/2/issue/10006" - assert.Equal(t, "http://localhost:8080", w.JIRAURL()) - - w.Issue.Self = "http://localhost:8080/foo/bar/rest/api/2/issue/10006" - assert.Equal(t, "http://localhost:8080/foo/bar", w.JIRAURL()) -} |