Keeping autolink IDs the same in all test cases

This commit is contained in:
Andy Feller 2025-01-29 10:16:02 -05:00
parent af538b277d
commit fe21e10ae8

View file

@ -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=<num>",
"is_alphanumeric": false
}`,
expectedAutolink: &shared.Autolink{
ID: 124,
ID: 123,
KeyPrefix: "TICKET-",
URLTemplate: "https://example.com/TICKET?query=<num>",
IsAlphanumeric: false,