diff --git a/internal/service/keyspaces/keyspace_test.go b/internal/service/keyspaces/keyspace_test.go index 3ad4f54626f..33c439f2a48 100644 --- a/internal/service/keyspaces/keyspace_test.go +++ b/internal/service/keyspaces/keyspace_test.go @@ -70,9 +70,9 @@ func TestAccKeyspacesKeyspace_replicationSpecificationMulti(t *testing.T) { Config: testAccKeyspaceConfig_replicationSpecification(rName, string(types.RsSingleRegion)), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckKeyspaceExists(ctx, resourceName), - acctest.CheckResourceAttrRegionalARN(resourceName, "arn", "cassandra", "/keyspace/"+rName+"/"), - resource.TestCheckResourceAttr(resourceName, "name", rName), - resource.TestCheckResourceAttr(resourceName, "tags.%", "0"), + acctest.CheckResourceAttrRegionalARN(resourceName, names.AttrARN, "cassandra", "/keyspace/"+rName+"/"), + resource.TestCheckResourceAttr(resourceName, names.AttrName, rName), + resource.TestCheckResourceAttr(resourceName, acctest.CtTagsPercent, "0"), resource.TestCheckResourceAttr(resourceName, "replication_specification.0.replication_strategy", string(types.RsSingleRegion)), ), }, @@ -80,9 +80,9 @@ func TestAccKeyspacesKeyspace_replicationSpecificationMulti(t *testing.T) { Config: testAccKeyspaceConfig_multiReplicationSpecification(rName, string(types.RsMultiRegion), region1, region2), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckKeyspaceExists(ctx, resourceName), - acctest.CheckResourceAttrRegionalARN(resourceName, "arn", "cassandra", "/keyspace/"+rName+"/"), - resource.TestCheckResourceAttr(resourceName, "name", rName), - resource.TestCheckResourceAttr(resourceName, "tags.%", "0"), + acctest.CheckResourceAttrRegionalARN(resourceName, names.AttrARN, "cassandra", "/keyspace/"+rName+"/"), + resource.TestCheckResourceAttr(resourceName, names.AttrName, rName), + resource.TestCheckResourceAttr(resourceName, acctest.CtTagsPercent, "0"), resource.TestCheckResourceAttr(resourceName, "replication_specification.0.replication_strategy", string(types.RsMultiRegion)), resource.TestCheckResourceAttr(resourceName, "replication_specification.0.region_list.#", "2"), ),