@@ -13,21 +13,21 @@ import (
13
13
"github.com/hashicorp/terraform-provider-azurerm/internal/provider"
14
14
)
15
15
16
- // lintignore:AT001
17
16
func (td TestData ) DataSourceTest (t * testing.T , steps []TestStep ) {
18
17
// DataSources don't need a check destroy - however since this is a wrapper function
19
18
// and not matching the ignore pattern `XXX_data_source_test.go`, this needs to be explicitly opted out
19
+ // // lintignore:AT001
20
20
testCase := resource.TestCase {
21
21
PreCheck : func () { PreCheck (t ) },
22
22
Steps : steps ,
23
23
}
24
24
td .runAcceptanceTest (t , testCase )
25
25
}
26
26
27
- // lintignore:AT001
28
27
func (td TestData ) DataSourceTestInSequence (t * testing.T , steps []TestStep ) {
29
28
// DataSources don't need a check destroy - however since this is a wrapper function
30
29
// and not matching the ignore pattern `XXX_data_source_test.go`, this needs to be explicitly opted out
30
+ // lintignore:AT001
31
31
testCase := resource.TestCase {
32
32
PreCheck : func () { PreCheck (t ) },
33
33
Steps : steps ,
@@ -36,7 +36,6 @@ func (td TestData) DataSourceTestInSequence(t *testing.T, steps []TestStep) {
36
36
td .runAcceptanceSequentialTest (t , testCase )
37
37
}
38
38
39
- // lintignore:AT001
40
39
func (td TestData ) ResourceTest (t * testing.T , testResource types.TestResource , steps []TestStep ) {
41
40
testCase := resource.TestCase {
42
41
PreCheck : func () { PreCheck (t ) },
@@ -54,17 +53,17 @@ func (td TestData) ResourceTest(t *testing.T, testResource types.TestResource, s
54
53
55
54
// ResourceTestIgnoreCheckDestroyed skips the check to confirm the resource test has been destroyed.
56
55
// This is done because certain resources can't actually be deleted.
57
- // lintignore:AT001
58
56
func (td TestData ) ResourceTestSkipCheckDestroyed (t * testing.T , steps []TestStep ) {
57
+ // lintignore:AT001
59
58
testCase := resource.TestCase {
60
59
PreCheck : func () { PreCheck (t ) },
61
60
Steps : steps ,
62
61
}
63
62
td .runAcceptanceTest (t , testCase )
64
63
}
65
64
66
- // lintignore:AT001
67
65
func (td TestData ) ResourceSequentialTestSkipCheckDestroyed (t * testing.T , steps []TestStep ) {
66
+ // lintignore:AT001
68
67
testCase := resource.TestCase {
69
68
PreCheck : func () { PreCheck (t ) },
70
69
Steps : steps ,
0 commit comments