diff --git a/packer/core_test.go b/packer/core_test.go index 1099d6790..813c58d18 100644 --- a/packer/core_test.go +++ b/packer/core_test.go @@ -801,9 +801,9 @@ func TestCoreBuild_provRetry(t *testing.T) { pString := new(MockProvisioner) pInt := new(MockProvisioner) config.Components.ProvisionerStore = MapOfProvisioner{ - "test-string": func() (Provisioner, error) { return pString, nil }, + "test-string": func() (packersdk.Provisioner, error) { return pString, nil }, // backwards compatibility - "test-integer": func() (Provisioner, error) { return pInt, nil }, + "test-integer": func() (packersdk.Provisioner, error) { return pInt, nil }, } core := TestCore(t, config) diff --git a/packer/provisioner_test.go b/packer/provisioner_test.go index b50be279d..26fc7267d 100644 --- a/packer/provisioner_test.go +++ b/packer/provisioner_test.go @@ -91,7 +91,7 @@ func TestProvisionHook_cancel(t *testing.T) { // TODO(mitchellh): Test that they're run in the proper order func TestPausedProvisioner_impl(t *testing.T) { - var _ Provisioner = new(PausedProvisioner) + var _ packersdk.Provisioner = new(PausedProvisioner) } func TestPausedProvisionerPrepare(t *testing.T) { @@ -174,7 +174,7 @@ func TestPausedProvisionerCancel(t *testing.T) { } func TestDebuggedProvisioner_impl(t *testing.T) { - var _ Provisioner = new(DebuggedProvisioner) + var _ packersdk.Provisioner = new(DebuggedProvisioner) } func TestDebuggedProvisionerPrepare(t *testing.T) { @@ -234,7 +234,7 @@ func TestDebuggedProvisionerCancel(t *testing.T) { } func TestRetriedProvisioner_impl(t *testing.T) { - var _ Provisioner = new(RetriedProvisioner) + var _ packersdk.Provisioner = new(RetriedProvisioner) } func TestRetriedProvisionerPrepare(t *testing.T) {