File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ func TestGetHostPreflightsStatusWithIgnoreFlag(t *testing.T) {
238238 api .WithLinuxInstallController (installController ),
239239 api .WithAuthController (auth .NewStaticAuthController ("TOKEN" )),
240240 api .WithLogger (logger .NewDiscardLogger ()),
241+ api .WithHelmClient (& helm.MockClient {}),
241242 )
242243 require .NoError (t , err )
243244
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ func TestLinuxGetRequiresInfraUpgrade(t *testing.T) {
160160 api .WithLinuxUpgradeController (upgradeController ),
161161 api .WithAuthController (auth .NewStaticAuthController ("TOKEN" )),
162162 api .WithLogger (logger .NewDiscardLogger ()),
163+ api .WithHelmClient (& helm.MockClient {}),
163164 )
164165 require .NoError (t , err )
165166
@@ -250,6 +251,7 @@ func TestLinuxGetRequiresInfraUpgrade(t *testing.T) {
250251 api .WithLinuxUpgradeController (upgradeController ),
251252 api .WithAuthController (auth .NewStaticAuthController ("TOKEN" )),
252253 api .WithLogger (logger .NewDiscardLogger ()),
254+ api .WithHelmClient (& helm.MockClient {}),
253255 )
254256 require .NoError (t , err )
255257
You can’t perform that action at this time.
0 commit comments