@@ -29,7 +29,7 @@ var _ = Describe("Create machine pool", func() {
2929 It ("should create machine pool" , func () {
3030 serviceMock := machinepool .NewMockMachinePoolService (ctrl )
3131 serviceMock .EXPECT ().CreateMachinePoolBasedOnClusterType (gomock .Any (), gomock .Any (),
32- gomock .Any (), gomock .Any (), gomock .Any ()).Return (nil ).Times (1 )
32+ gomock .Any (), gomock .Any (), gomock .Any (), gomock . Any () ).Return (nil ).Times (1 )
3333
3434 mockClassicClusterReady := test .MockCluster (func (c * cmv1.ClusterBuilder ) {
3535 c .AWS (cmv1 .NewAWS ().SubnetIDs ("subnet-0b761d44d3d9a4663" , "subnet-0f87f640e56934cbc" ))
@@ -38,7 +38,8 @@ var _ = Describe("Create machine pool", func() {
3838 c .Hypershift (cmv1 .NewHypershift ().Enabled (false ))
3939 })
4040 err := serviceMock .CreateMachinePoolBasedOnClusterType (rosa .NewRuntime (), NewCreateMachinePoolCommand (),
41- "82339823" , mockClassicClusterReady , NewCreateMachinepoolUserOptions ())
41+ "82339823" , mockClassicClusterReady , mockClassicClusterReady .Autoscaler (),
42+ NewCreateMachinepoolUserOptions ())
4243 Expect (err ).ToNot (HaveOccurred ())
4344
4445 })
0 commit comments