Fix tests for vmware/common

pull/6186/head
DanHam 8 years ago
parent a729ecda87
commit 10d93dffa4
No known key found for this signature in database
GPG Key ID: 58E79AEDD6AA987E

@ -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…
Cancel
Save