Skip to content

Commit

Permalink
r/aws_ram_resource_share: Fix up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoakley committed Dec 28, 2018
1 parent 5ad9071 commit b2a2a02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aws/resource_aws_ram_resource_share_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestAccAwsRamResourceShare_basic(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSClusterDestroy,
CheckDestroy: testAccCheckAwsRamResourceShareDestroy,
Steps: []resource.TestStep{
{
Config: testAccAwsRamResourceShareConfig_basic(shareName),
Expand Down Expand Up @@ -101,7 +101,6 @@ func testAccCheckAwsRamResourceShareDestroy(s *terraform.State) error {
if aws.StringValue(resourceShare.Status) != ram.ResourceShareStatusDeleted {
return fmt.Errorf("RAM resource share (%s) still exists", rs.Primary.ID)
}
return fmt.Errorf("No RAM resource share found")
}
}

Expand Down

0 comments on commit b2a2a02

Please sign in to comment.