Fix tests for vmware/common
This commit is contained in:
parent
a729ecda87
commit
10d93dffa4
|
@ -15,7 +15,8 @@ func TestStepCompactDisk(t *testing.T) {
|
|||
state := testState(t)
|
||||
step := new(StepCompactDisk)
|
||||
|
||||
state.Put("full_disk_path", "foo")
|
||||
diskPaths := []string{"foo"}
|
||||
state.Put("disk_full_paths", diskPaths)
|
||||
|
||||
driver := state.Get("driver").(*DriverMock)
|
||||
|
||||
|
@ -41,7 +42,8 @@ func TestStepCompactDisk_skip(t *testing.T) {
|
|||
step := new(StepCompactDisk)
|
||||
step.Skip = true
|
||||
|
||||
state.Put("full_disk_path", "foo")
|
||||
diskPaths := []string{"foo"}
|
||||
state.Put("disk_full_paths", diskPaths)
|
||||
|
||||
driver := state.Get("driver").(*DriverMock)
|
||||
|
||||
|
|
Loading…
Reference in New Issue