Skip to content

Commit

Permalink
Update server/events/project_locker_test.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
  • Loading branch information
mcdafydd and lkysow authored Apr 27, 2020
1 parent a3099f3 commit 86cf4d3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server/events/project_locker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 86cf4d3

Please sign in to comment.