mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: Subscribe to template updates on the workspace page (#4979)
Fixes #4969.
This commit is contained in:
@ -1430,6 +1430,12 @@ func TestWorkspaceWatcher(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
wait()
|
||||
|
||||
err = client.UpdateActiveTemplateVersion(ctx, template.ID, codersdk.UpdateActiveTemplateVersion{
|
||||
ID: template.ActiveVersionID,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
wait()
|
||||
|
||||
cancel()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user