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