refactor (crc/machine) : Provide a dummy implementation for virtualMachine object for writing unit tests (#4407) #2945
Annotations
4 errors
Build:
pkg/crc/machine/stop_test.go#L23
cannot use fakeVirtualMachine (variable of type *fakemachine.FakeVirtualMachine) as VirtualMachine value in argument to newClientWithVirtualMachine: *fakemachine.FakeVirtualMachine does not implement VirtualMachine (missing method Host)
|
Build:
pkg/crc/machine/stop_test.go#L45
cannot use fakeVirtualMachine (variable of type *fakemachine.FakeVirtualMachine) as VirtualMachine value in argument to newClientWithVirtualMachine: *fakemachine.FakeVirtualMachine does not implement VirtualMachine (missing method Host)
|
Build:
pkg/crc/machine/stop_test.go#L64
cannot use fakeVirtualMachine (variable of type *fakemachine.FakeVirtualMachine) as VirtualMachine value in argument to newClientWithVirtualMachine: *fakemachine.FakeVirtualMachine does not implement VirtualMachine (missing method Host)
|
Build
Process completed with exit code 2.
|
Loading