Skip to content

Commit cc01c22

Browse files
committed
test(webhook): fix TestTelegramPayload Release
1 parent c0639b2 commit cc01c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/webhook/slack_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func TestSlackPayload(t *testing.T) {
154154
require.NotNil(t, pl)
155155
require.IsType(t, &SlackPayload{}, pl)
156156

157-
assert.Equal(t, "[<http://localhost:3000/test/repo|test/repo>] Release created: <http://localhost:3000/test/repo/src/v1.0|v1.0> by <https://try.gitea.io/user1|user1>", pl.(*SlackPayload).Text)
157+
assert.Equal(t, "[<http://localhost:3000/test/repo|test/repo>] Release created: <http://localhost:3000/test/repo/releases/tag/v1.0|v1.0> by <https://try.gitea.io/user1|user1>", pl.(*SlackPayload).Text)
158158
})
159159
}
160160

0 commit comments

Comments
 (0)