From fe21e10ae8b42315575fe03f24ec967f4c65fab3 Mon Sep 17 00:00:00 2001 From: Andy Feller Date: Wed, 29 Jan 2025 10:16:02 -0500 Subject: [PATCH] Keeping autolink IDs the same in all test cases --- pkg/cmd/repo/autolink/view/http_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/repo/autolink/view/http_test.go b/pkg/cmd/repo/autolink/view/http_test.go index 2402fb2d7..5bfe9369f 100644 --- a/pkg/cmd/repo/autolink/view/http_test.go +++ b/pkg/cmd/repo/autolink/view/http_test.go @@ -44,16 +44,16 @@ func TestAutolinkViewer_View(t *testing.T) { }, { name: "200 successful numeric view", - id: "124", + id: "123", stubStatus: 200, stubRespJSON: `{ - "id": 124, + "id": 123, "key_prefix": "TICKET-", "url_template": "https://example.com/TICKET?query=", "is_alphanumeric": false }`, expectedAutolink: &shared.Autolink{ - ID: 124, + ID: 123, KeyPrefix: "TICKET-", URLTemplate: "https://example.com/TICKET?query=", IsAlphanumeric: false,