diff --git a/rosco-web/src/test/java/com/netflix/spinnaker/rosco/controllers/V2BakeryControllerTest.java b/rosco-web/src/test/java/com/netflix/spinnaker/rosco/controllers/V2BakeryControllerTest.java index 7866eb92e..c21bf3d4e 100644 --- a/rosco-web/src/test/java/com/netflix/spinnaker/rosco/controllers/V2BakeryControllerTest.java +++ b/rosco-web/src/test/java/com/netflix/spinnaker/rosco/controllers/V2BakeryControllerTest.java @@ -29,6 +29,7 @@ import com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException; import com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException; import com.netflix.spinnaker.rosco.Main; +import com.netflix.spinnaker.rosco.executor.BakePoller; import com.netflix.spinnaker.rosco.manifests.helm.HelmBakeManifestRequest; import com.netflix.spinnaker.rosco.services.ClouddriverService; import java.nio.charset.StandardCharsets; @@ -54,6 +55,8 @@ class V2BakeryControllerTest { @Autowired private WebApplicationContext webApplicationContext; + @MockBean BakePoller bakePoller; + @MockBean ClouddriverService clouddriverService; @Autowired ObjectMapper objectMapper;