Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Apr 10, 2020
1 parent 4d73f34 commit 7ceae87
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions aws/resource_aws_mq_broker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,27 +711,27 @@ func TestAccAWSMqBroker_updateEngineVersion(t *testing.T) {
brokerName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5))
resourceName := "aws_mq_broker.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSMq(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckAwsMqBrokerDestroy,
Steps: []resource.TestStep{
{
Config: testAccMqBrokerConfig(sgName, brokerName),
Check: resource.ComposeTestCheckFunc(
testAccCheckAwsMqBrokerExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "engine_version", "5.15.0"),
),
},
{
Config: testAccMqBrokerEngineVersionUpdateConfig(sgName, brokerName),
Check: resource.ComposeTestCheckFunc(
testAccCheckAwsMqBrokerExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "engine_version", "5.15.9"),
),
},
resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSMq(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckAwsMqBrokerDestroy,
Steps: []resource.TestStep{
{
Config: testAccMqBrokerConfig(sgName, brokerName),
Check: resource.ComposeTestCheckFunc(
testAccCheckAwsMqBrokerExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "engine_version", "5.15.0"),
),
},
})
{
Config: testAccMqBrokerEngineVersionUpdateConfig(sgName, brokerName),
Check: resource.ComposeTestCheckFunc(
testAccCheckAwsMqBrokerExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "engine_version", "5.15.9"),
),
},
},
})
}

func testAccCheckAwsMqBrokerDestroy(s *terraform.State) error {
Expand Down

0 comments on commit 7ceae87

Please sign in to comment.