mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: support order
property of coder_app
resource (#12077)
This commit is contained in:
@ -465,6 +465,7 @@ func WorkspaceApp(t testing.TB, db database.Store, orig database.WorkspaceApp) d
|
||||
HealthcheckInterval: takeFirst(orig.HealthcheckInterval, 60),
|
||||
HealthcheckThreshold: takeFirst(orig.HealthcheckThreshold, 60),
|
||||
Health: takeFirst(orig.Health, database.WorkspaceAppHealthHealthy),
|
||||
DisplayOrder: takeFirst(orig.DisplayOrder, 1),
|
||||
})
|
||||
require.NoError(t, err, "insert app")
|
||||
return resource
|
||||
|
Reference in New Issue
Block a user