Skip to content

Commit 0eb8d1c

Browse files
authored
Merge pull request #178 from SumoLogic/ssain-lint-test-name-fix
make test name prefixes consistent
2 parents 3156c60 + 4dea2d6 commit 0eb8d1c

8 files changed

+15
-15
lines changed

sumologic/resource_sumologic_extraction_rule_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestAccSumologicFieldExtractionRule_basic(t *testing.T) {
4545
})
4646
}
4747

48-
func TestAccFieldExtractionRule_create(t *testing.T) {
48+
func TestAccSumologicFieldExtractionRule_create(t *testing.T) {
4949
var fieldextractionrule FieldExtractionRule
5050
testName := FieldsMap["FieldExtractionRule"]["name"]
5151
testScope := FieldsMap["FieldExtractionRule"]["scope"]
@@ -112,7 +112,7 @@ func testAccCheckFieldExtractionRuleExists(name string, fieldextractionrule *Fie
112112
}
113113
}
114114

115-
func TestAccFieldExtractionRule_update(t *testing.T) {
115+
func TestAccSumologicFieldExtractionRule_update(t *testing.T) {
116116
var fieldextractionrule FieldExtractionRule
117117
testName := FieldsMap["FieldExtractionRule"]["name"]
118118
testScope := FieldsMap["FieldExtractionRule"]["scope"]

sumologic/resource_sumologic_field_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestAccSumologicField_basic(t *testing.T) {
3232
})
3333
}
3434

35-
func TestAccField_create(t *testing.T) {
35+
func TestAccSumologicField_create(t *testing.T) {
3636
var field Field
3737
testFieldName := "fields_provider_test"
3838
testDataType := "String"

sumologic/resource_sumologic_ingest_budget_v2_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestAccSumologicIngestBudgetV2_basic(t *testing.T) {
4848
},
4949
})
5050
}
51-
func TestAccIngestBudgetV2_create(t *testing.T) {
51+
func TestAccSumologicIngestBudgetV2_create(t *testing.T) {
5252
var ingestBudgetV2 IngestBudgetV2
5353
testName := "Developer Budget"
5454
testScope := "_sourceCategory=*prod*nginx*"
@@ -82,7 +82,7 @@ func TestAccIngestBudgetV2_create(t *testing.T) {
8282
})
8383
}
8484

85-
func TestAccIngestBudgetV2_update(t *testing.T) {
85+
func TestAccSumologicIngestBudgetV2_update(t *testing.T) {
8686
var ingestBudgetV2 IngestBudgetV2
8787
testName := "Developer Budget"
8888
testScope := "_sourceCategory=*prod*nginx*"

sumologic/resource_sumologic_lookup_table_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestAccSumologicLookupTable_basic(t *testing.T) {
4848
})
4949
}
5050

51-
func TestAccLookupTable_create(t *testing.T) {
51+
func TestAccSumologicLookupTable_create(t *testing.T) {
5252
var lookupTable LookupTable
5353
testName := "SampleLookupTable"
5454
testFieldName := "FieldName1"
@@ -81,7 +81,7 @@ func TestAccLookupTable_create(t *testing.T) {
8181
})
8282
}
8383

84-
func TestAccLookupTable_update(t *testing.T) {
84+
func TestAccSumologicLookupTable_update(t *testing.T) {
8585
var lookupTable LookupTable
8686
testName := "SampleLookupTable"
8787
testFieldName := "FieldName1"

sumologic/resource_sumologic_monitors_library_monitor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestAccSumologicMonitorsLibraryMonitor_basic(t *testing.T) {
3333
},
3434
})
3535
}
36-
func TestAccMonitorsLibraryMonitor_create(t *testing.T) {
36+
func TestAccSumologicMonitorsLibraryMonitor_create(t *testing.T) {
3737
var monitorsLibraryMonitor MonitorsLibraryMonitor
3838
testNameSuffix := acctest.RandString(16)
3939

@@ -118,7 +118,7 @@ func TestAccMonitorsLibraryMonitor_create(t *testing.T) {
118118
})
119119
}
120120

121-
func TestAccMonitorsLibraryMonitor_update(t *testing.T) {
121+
func TestAccSumologicMonitorsLibraryMonitor_update(t *testing.T) {
122122
var monitorsLibraryMonitor MonitorsLibraryMonitor
123123
testNameSuffix := acctest.RandString(16)
124124

sumologic/resource_sumologic_role_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func TestAccSumologicRole_basic(t *testing.T) {
4646
})
4747
}
4848

49-
func TestAccRole_create(t *testing.T) {
49+
func TestAccSumologicRole_create(t *testing.T) {
5050
var role Role
5151
testName := acctest.RandomWithPrefix("tf-acc-test")
5252
testDescription := FieldsMap["Role"]["description"]
@@ -113,7 +113,7 @@ func testAccCheckRoleExists(name string, role *Role, t *testing.T) resource.Test
113113
}
114114
}
115115

116-
func TestAccRole_update(t *testing.T) {
116+
func TestAccSumologicRole_update(t *testing.T) {
117117
var role Role
118118
testName := acctest.RandomWithPrefix("tf-acc-test")
119119
testDescription := FieldsMap["Role"]["description"]

sumologic/resource_sumologic_subdomain_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func TestAccSumologicSubdomain_basic(t *testing.T) {
4242
})
4343
}
4444

45-
func TestAccSubdomain_create(t *testing.T) {
45+
func TestAccSumologicSubdomain_create(t *testing.T) {
4646
var subdomain Subdomain
4747
testSubdomain := "my-company"
4848
resource.Test(t, resource.TestCase{
@@ -62,7 +62,7 @@ func TestAccSubdomain_create(t *testing.T) {
6262
})
6363
}
6464

65-
func TestAccSubdomain_update(t *testing.T) {
65+
func TestAccSumologicSubdomain_update(t *testing.T) {
6666
var subdomain Subdomain
6767
testSubdomain := "my-company"
6868

sumologic/resource_sumologic_user_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func TestAccSumologicUser_basic(t *testing.T) {
4747
})
4848
}
4949

50-
func TestAccUser_create(t *testing.T) {
50+
func TestAccSumologicUser_create(t *testing.T) {
5151
var user User
5252
testFirstName := FieldsMap["User"]["firstName"]
5353
testLastName := FieldsMap["User"]["lastName"]
@@ -116,7 +116,7 @@ func testAccCheckUserExists(name string, user *User, t *testing.T) resource.Test
116116
}
117117
}
118118

119-
func TestAccUser_update(t *testing.T) {
119+
func TestAccSumologicUser_update(t *testing.T) {
120120
var user User
121121
testFirstName := FieldsMap["User"]["firstName"]
122122
testLastName := FieldsMap["User"]["lastName"]

0 commit comments

Comments
 (0)