Skip to content

Commit

Permalink
remove unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
msarvar committed Mar 25, 2021
1 parent 99b47fa commit e0941c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/events/apply_command_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"testing"

"github.com/google/go-github/v31/github"
stats "github.com/lyft/gostats"
. "github.com/petergtz/pegomock"
"github.com/runatlantis/atlantis/server/events"
"github.com/runatlantis/atlantis/server/events/locking"
Expand Down Expand Up @@ -46,8 +45,6 @@ func TestApplyCommandRunner_IsLocked(t *testing.T) {
t.Run(c.Description, func(t *testing.T) {
vcsClient := setup(t)

scopeNull := stats.NewStore(stats.NewNullSink(), false)

pull := &github.PullRequest{
State: github.String("open"),
}
Expand All @@ -61,7 +58,6 @@ func TestApplyCommandRunner_IsLocked(t *testing.T) {
Pull: modelPull,
HeadRepo: fixtures.GithubRepo,
Trigger: events.Comment,
Scope: scopeNull,
}

When(applyLockChecker.CheckApplyLock()).ThenReturn(locking.ApplyCommandLock{Locked: c.ApplyLocked}, c.ApplyLockError)
Expand Down

0 comments on commit e0941c0

Please sign in to comment.