package scaleway import ( "testing" "github.com/hashicorp/terraform/helper/resource" ) func TestAccScalewayVolume_importBasic(t *testing.T) { resourceName := "scaleway_volume.test" resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, CheckDestroy: testAccCheckScalewayVolumeDestroy, Steps: []resource.TestStep{ resource.TestStep{ Config: testAccCheckScalewayVolumeConfig, }, resource.TestStep{ ResourceName: resourceName, ImportState: true, ImportStateVerify: true, }, }, }) }