diff --git a/server/events/project_locker_test.go b/server/events/project_locker_test.go index bd254472e0..aca39269c0 100644 --- a/server/events/project_locker_test.go +++ b/server/events/project_locker_test.go @@ -31,12 +31,7 @@ import ( func TestDefaultProjectLocker_TryLockWhenLocked(t *testing.T) { var githubClient *vcs.GithubClient - var gitlabClient *vcs.GitlabClient - var bitbucketCloudClient *bitbucketcloud.Client - var bitbucketServerClient *bitbucketserver.Client - var azuredevopsClient *vcs.AzureDevopsClient - - mockClient := vcs.NewClientProxy(githubClient, gitlabClient, bitbucketCloudClient, bitbucketServerClient, azuredevopsClient) + mockClient := vcs.NewClientProxy(githubClient, nil, nil, nil, nil) mockLocker := mocks.NewMockLocker() locker := events.DefaultProjectLocker{ Locker: mockLocker,