Update test that failed to compile
package api_test
import (
- "github.com/concourse/concourse/atc"
"io/ioutil"
"net/http"
"net/http/httptest"
@@ -9,6 +8,8 @@ import (
"testing"
"time"
+ "github.com/concourse/concourse/atc"
+
"code.cloudfoundry.org/clock/fakeclock"
"code.cloudfoundry.org/lager"
"code.cloudfoundry.org/lager/lagertest"
@@ -52,6 +53,7 @@ var (
fakeAccess *accessorfakes.FakeAccess
fakeAccessor *accessorfakes.FakeAccessFactory
dbWorkerFactory *dbfakes.FakeWorkerFactory
+ workerTeamFactory *dbfakes.FakeTeamFactory
dbWorkerLifecycle *dbfakes.FakeWorkerLifecycle
build *dbfakes.FakeBuild
dbBuildFactory *dbfakes.FakeBuildFactory
@@ -186,6 +188,7 @@ var _ = BeforeEach(func() {
dbJobFactory,
dbResourceFactory,
dbWorkerFactory,
+ workerTeamFactory,
fakeVolumeRepository,
fakeContainerRepository,
fakeDestroyer,
