Keeping autolink IDs the same in all test cases
This commit is contained in:
parent
af538b277d
commit
fe21e10ae8
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue