Skip to content

Commit

Permalink
r/aws_datasync_task(test): standardize task report config test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Nov 2, 2023
1 parent a1bb45d commit bfa8fc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/service/datasync/task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ func TestAccDataSyncTask_DefaultSyncOptions_verifyMode(t *testing.T) {
})
}

func TestAccDataSyncTask_report_config(t *testing.T) {
func TestAccDataSyncTask_taskReportConfig(t *testing.T) {
ctx := acctest.Context(t)
var task1 datasync.DescribeTaskOutput
rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
Expand All @@ -811,7 +811,7 @@ func TestAccDataSyncTask_report_config(t *testing.T) {
CheckDestroy: testAccCheckTaskDestroy(ctx),
Steps: []resource.TestStep{
{
Config: testAccTaskConfig_reportConfig(rName),
Config: testAccTaskConfig_taskReportConfig(rName),
Check: resource.ComposeTestCheckFunc(
testAccCheckTaskExists(ctx, resourceName, &task1),
resource.TestCheckResourceAttr(resourceName, "task_report_config.#", "1"),
Expand Down Expand Up @@ -1504,7 +1504,7 @@ resource "aws_datasync_task" "test" {
`, rName, key1, value1, key2, value2))
}

func testAccTaskConfig_reportConfig(rName string) string {
func testAccTaskConfig_taskReportConfig(rName string) string {
return acctest.ConfigCompose(
testAccTaskConfig_baseLocationS3(rName),
testAccTaskConfig_baseLocationNFS(rName),
Expand Down

0 comments on commit bfa8fc3

Please sign in to comment.