@@ -30,7 +30,7 @@ func TestAccDataSourceConfig_ActiveProfile(t *testing.T) {
30
30
PreCheck : func () { acctest .PreCheck (t ) },
31
31
ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
32
32
_ = os .Unsetenv ("SCW_PROFILE" )
33
- _ = os .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
33
+ t .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
34
34
metaDefault , err := meta .NewMeta (ctx , & meta.Config {
35
35
TerraformVersion : "terraform-tests" ,
36
36
HTTPClient : tt .Meta .HTTPClient (),
@@ -78,12 +78,12 @@ func TestAccDataSourceConfig_OtherProfile(t *testing.T) {
78
78
79
79
ctx := context .Background ()
80
80
81
- resource .ParallelTest (t , resource.TestCase {
81
+ resource .Test (t , resource.TestCase {
82
82
PreCheck : func () { acctest .PreCheck (t ) },
83
83
ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
84
84
_ = os .Unsetenv ("SCW_PROFILE" )
85
- _ = os .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
86
- _ = os .Setenv ("SCW_PROFILE" , "other" )
85
+ t .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
86
+ t .Setenv ("SCW_PROFILE" , "other" )
87
87
metaOther , err := meta .NewMeta (ctx , & meta.Config {
88
88
TerraformVersion : "terraform-tests" ,
89
89
HTTPClient : tt .Meta .HTTPClient (),
@@ -131,13 +131,13 @@ func TestAccDataSourceConfig_MixedProfile(t *testing.T) {
131
131
132
132
ctx := context .Background ()
133
133
134
- resource .ParallelTest (t , resource.TestCase {
134
+ resource .Test (t , resource.TestCase {
135
135
PreCheck : func () { acctest .PreCheck (t ) },
136
136
ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
137
137
_ = os .Unsetenv ("SCW_PROFILE" )
138
- _ = os .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
139
- _ = os .Setenv ("SCW_PROFILE" , "incomplete" )
140
- _ = os .Setenv ("SCW_DEFAULT_PROJECT_ID" , "77777777-7777-7777-7777-777777777777" )
138
+ t .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
139
+ t .Setenv ("SCW_PROFILE" , "incomplete" )
140
+ t .Setenv ("SCW_DEFAULT_PROJECT_ID" , "77777777-7777-7777-7777-777777777777" )
141
141
metaMixed , err := meta .NewMeta (ctx , & meta.Config {
142
142
TerraformVersion : "terraform-tests" ,
143
143
HTTPClient : tt .Meta .HTTPClient (),
0 commit comments