Skip to content

Commit

Permalink
Use names.AttrPort for "port" in test
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorbonas committed Dec 20, 2024
1 parent 83b735e commit 2b67a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/timestreaminfluxdb/db_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestAccTimestreamInfluxDBDBInstance_basic(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "deployment_type", string(awstypes.DeploymentTypeSingleAz)),
resource.TestCheckResourceAttrSet(resourceName, "influx_auth_parameters_secret_arn"),
resource.TestCheckResourceAttr(resourceName, "network_type", string(awstypes.NetworkTypeIpv4)),
resource.TestCheckResourceAttr(resourceName, "port", "8086"),
resource.TestCheckResourceAttr(resourceName, names.AttrPort, "8086"),
resource.TestCheckResourceAttr(resourceName, names.AttrPubliclyAccessible, acctest.CtFalse),
),
},
Expand Down

0 comments on commit 2b67a59

Please sign in to comment.