mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat: add OpenIn option to coder_app (#15743)
This PR is the coder/coder part of [the open_in parameter issue](https://github.com/coder/terraform-provider-coder/issues/297) aiming to add a new optional parameter to choose how to open modules. This PR is heavily linked [to this PR](https://github.com/coder/terraform-provider-coder/pull/321). ℹ️ For now, some integrations tests can not be pushed as it requires a release on the terraform-provider repo.
This commit is contained in:
@ -30,6 +30,7 @@ func TestBatchUpdateAppHealths(t *testing.T) {
|
||||
DisplayName: "code-server 1",
|
||||
HealthcheckUrl: "http://localhost:3000",
|
||||
Health: database.WorkspaceAppHealthInitializing,
|
||||
OpenIn: database.WorkspaceAppOpenInSlimWindow,
|
||||
}
|
||||
app2 = database.WorkspaceApp{
|
||||
ID: uuid.New(),
|
||||
@ -38,6 +39,7 @@ func TestBatchUpdateAppHealths(t *testing.T) {
|
||||
DisplayName: "code-server 2",
|
||||
HealthcheckUrl: "http://localhost:3001",
|
||||
Health: database.WorkspaceAppHealthHealthy,
|
||||
OpenIn: database.WorkspaceAppOpenInSlimWindow,
|
||||
}
|
||||
)
|
||||
|
||||
@ -163,6 +165,7 @@ func TestBatchUpdateAppHealths(t *testing.T) {
|
||||
AgentID: agent.ID,
|
||||
Slug: "code-server-3",
|
||||
DisplayName: "code-server 3",
|
||||
OpenIn: database.WorkspaceAppOpenInSlimWindow,
|
||||
}
|
||||
|
||||
dbM := dbmock.NewMockStore(gomock.NewController(t))
|
||||
|
Reference in New Issue
Block a user