Skip to content

Commit

Permalink
tests/r/lightsail_static_ip_attachment: Add ErrorCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Mar 19, 2021
1 parent e15f836 commit 54dfac5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resource_aws_lightsail_static_ip_attachment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestAccAWSLightsailStaticIpAttachment_basic(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSLightsail(t) },
ErrorCheck: testAccErrorCheck(t, lightsail.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSLightsailStaticIpAttachmentDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -56,6 +57,7 @@ func TestAccAWSLightsailStaticIpAttachment_disappears(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSLightsail(t) },
ErrorCheck: testAccErrorCheck(t, lightsail.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSLightsailStaticIpAttachmentDestroy,
Steps: []resource.TestStep{
Expand Down

0 comments on commit 54dfac5

Please sign in to comment.