We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b40b8a0 commit 991ede7Copy full SHA for 991ede7
pkg/agent/agent_test.go
@@ -76,7 +76,7 @@ func TestAgent(t *testing.T) {
76
mockGitService := mock_git.NewMockGitService()
77
mockGitService.On("RepositoryExists").Return(true, nil)
78
mockGitService.On("SetGitConfig", mock.Anything, mock.Anything).Return(nil)
79
- mockGitService.On("GetGitStatus").Return(gitStatus1, nil)
+ mockGitService.On("GetGitStatus").Return(gitStatus1, nil).Maybe()
80
81
mockSshServer := mocks.NewMockSshServer()
82
mockTailscaleServer := mocks.NewMockTailscaleServer()
0 commit comments