mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: change notifications actions url (#17083)
Related to #17082 Some notifications ( workspace created and workspace manually updated ) are using wrong variables to build the Action URL. Fixing it.
This commit is contained in:
@ -1074,9 +1074,10 @@ func TestNotificationTemplates_Golden(t *testing.T) {
|
||||
UserEmail: "bobby@coder.com",
|
||||
UserUsername: "bobby",
|
||||
Labels: map[string]string{
|
||||
"workspace": "bobby-workspace",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace": "bobby-workspace",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace_owner_username": "mrbobby",
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -1088,11 +1089,12 @@ func TestNotificationTemplates_Golden(t *testing.T) {
|
||||
UserEmail: "bobby@coder.com",
|
||||
UserUsername: "bobby",
|
||||
Labels: map[string]string{
|
||||
"organization": "bobby-organization",
|
||||
"initiator": "bobby",
|
||||
"workspace": "bobby-workspace",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"organization": "bobby-organization",
|
||||
"initiator": "bobby",
|
||||
"workspace": "bobby-workspace",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace_owner_username": "mrbobby",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user