mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: support order
property of coder_agent
(#12121)
This commit is contained in:
@ -176,6 +176,7 @@ func WorkspaceAgent(t testing.TB, db database.Store, orig database.WorkspaceAgen
|
||||
TroubleshootingURL: takeFirst(orig.TroubleshootingURL, "https://example.com"),
|
||||
MOTDFile: takeFirst(orig.TroubleshootingURL, ""),
|
||||
DisplayApps: append([]database.DisplayApp{}, orig.DisplayApps...),
|
||||
DisplayOrder: takeFirst(orig.DisplayOrder, 1),
|
||||
})
|
||||
require.NoError(t, err, "insert workspace agent")
|
||||
return agt
|
||||
|
Reference in New Issue
Block a user