setupWorkspaceForAgent creates a workspace setup exactly like main SSH tests nolint:gocritic // This is in a test package and does not end up in the build
(t *testing.T, opts *coderdtest.Options)
| 44 | // setupWorkspaceForAgent creates a workspace setup exactly like main SSH tests |
| 45 | // nolint:gocritic // This is in a test package and does not end up in the build |
| 46 | func setupWorkspaceForAgent(t *testing.T, opts *coderdtest.Options) (*codersdk.Client, database.WorkspaceTable, string) { |
| 47 | t.Helper() |
| 48 | return setupWorkspaceForAgentWithName(t, opts, "myworkspace") |
| 49 | } |
| 50 | |
| 51 | // setupWorkspaceForAgentWithName creates a workspace setup exactly like main |
| 52 | // SSH tests, but with a caller-provided workspace name. |
no test coverage detected