provider/aws: Change the resource name expected as part of sqs queue import test

This commit is contained in:
stack72 2016-07-26 21:59:21 +01:00
parent 3a1f2e6fe9
commit 4e1d54ad51
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16
1 changed files with 1 additions and 4 deletions

View File

@ -10,7 +10,7 @@ import (
) )
func TestAccAWSSQSQueue_importBasic(t *testing.T) { func TestAccAWSSQSQueue_importBasic(t *testing.T) {
resourceName := "aws_sqs_queue.queue-with-defaults" resourceName := "aws_sqs_queue.queue"
queueName := fmt.Sprintf("sqs-queue-%s", acctest.RandString(5)) queueName := fmt.Sprintf("sqs-queue-%s", acctest.RandString(5))
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
@ -26,9 +26,6 @@ func TestAccAWSSQSQueue_importBasic(t *testing.T) {
ResourceName: resourceName, ResourceName: resourceName,
ImportState: true, ImportState: true,
ImportStateVerify: true, ImportStateVerify: true,
//The name is never returned after the initial create of the queue.
//It is part of the URL and can be split down if needed
//ImportStateVerifyIgnore: []string{"name"},
}, },
}, },
}) })