8000 fix test · coder/coder@5f1d7fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f1d7fb

Browse files
committed
fix test
1 parent 2807a9d commit 5f1d7fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/workspaceagents_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,7 @@ func TestWorkspaceAgentRecreateDevcontainer(t *testing.T) {
14321432
}, nil).AnyTimes()
14331433
// DetectArchitecture always returns "<none>" for this test to disable agent injection.
14341434
mccli.EXPECT().DetectArchitecture(gomock.Any(), devContainer.ID).Return("<none>", nil).AnyTimes()
1435+
mdccli.EXPECT().ReadConfig(gomock.Any(), workspaceFolder, configFile, gomock.Any()).Return(agentcontainers.DevcontainerConfig{}, nil).Times(1)
14351436
mdccli.EXPECT().Up(< 42DC span class=pl-s1>gomock.Any(), workspaceFolder, configFile, gomock.Any()).Return("someid", nil).Times(1)
14361437
return 0
14371438
},

0 commit comments

Comments
 (0)
0