()
| 793 | } |
| 794 | |
| 795 | func agentCommandSessionRecord() SessionRecord { |
| 796 | return SessionRecord{ |
| 797 | ID: "sess-agent", |
| 798 | Name: "worker", |
| 799 | AgentName: "coder", |
| 800 | Provider: "test-provider", |
| 801 | WorkspaceID: "ws-1", |
| 802 | WorkspacePath: "/workspace/project", |
| 803 | Channel: "builders", |
| 804 | Type: session.SessionTypeUser, |
| 805 | State: session.StateActive, |
| 806 | CreatedAt: fixedTestNow, |
| 807 | UpdatedAt: fixedTestNow, |
| 808 | } |
| 809 | } |
| 810 | |
| 811 | func assertAgentCredentials(t *testing.T, credentials agentidentity.Credentials) { |
| 812 | t.Helper() |
no outgoing calls
no test coverage detected