Skip to content

Commit da23e6f

Browse files
committed
rename helper methods
1 parent 2caad50 commit da23e6f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

sysdig/data_source_sysdig_monitor_team_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func TestAccDataSourceSysdigMonitorTeam(t *testing.T) {
2323
},
2424
Steps: []resource.TestStep{
2525
{
26-
Config: monitorTeamWithName(name),
26+
Config: monitorTeamResourceAndDatasource(name),
2727
Check: resource.ComposeTestCheckFunc(
2828
resource.TestCheckResourceAttr("data.sysdig_monitor_team.test", "name", name),
2929
),
@@ -32,7 +32,7 @@ func TestAccDataSourceSysdigMonitorTeam(t *testing.T) {
3232
})
3333
}
3434

35-
func monitorTeamWithName(name string) string {
35+
func monitorTeamResourceAndDatasource(name string) string {
3636
return fmt.Sprintf(`
3737
resource "sysdig_monitor_team" "sample" {
3838
name = "TF test-%s"

sysdig/data_source_sysdig_secure_team_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestAccDataSourceSysdigSecureTeam(t *testing.T) {
2222
},
2323
Steps: []resource.TestStep{
2424
{
25-
Config: secureTeamWithName(name),
25+
Config: secureTeamAndDatasource(name),
2626
Check: resource.ComposeTestCheckFunc(
2727
resource.TestCheckResourceAttr("data.sysdig_secure_team.test", "name", name),
2828
),
@@ -31,7 +31,7 @@ func TestAccDataSourceSysdigSecureTeam(t *testing.T) {
3131
})
3232
}
3333

34-
func secureTeamWithName(name string) string {
34+
func secureTeamAndDatasource(name string) string {
3535
return fmt.Sprintf(`
3636
resource "sysdig_secure_team" "sample" {
3737
name = "TF test-%s"

0 commit comments

Comments
 (0)