@@ -30,7 +30,7 @@ func TestAccDataSourceConfig_ActiveProfile(t *testing.T) {
3030 PreCheck : func () { acctest .PreCheck (t ) },
3131 ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
3232 _ = os .Unsetenv ("SCW_PROFILE" )
33- _ = os .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
33+ t .Setenv ("SCW_CONFIG_PATH" , "./testfixture/test_config.yaml" )
3434 metaDefault , err := meta .NewMeta (ctx , & meta.Config {
3535 TerraformVersion : "terraform-tests" ,
3636 HTTPClient : tt .Meta .HTTPClient (),
@@ -78,12 +78,12 @@ func TestAccDataSourceConfig_OtherProfile(t *testing.T) {
7878
7979 ctx := context .Background ()
8080
81- resource .ParallelTest (t , resource.TestCase {
81+ resource .Test (t , resource.TestCase {
8282 PreCheck : func () { acctest .PreCheck (t ) },
8383 ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
8484 _ = 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" )
8787 metaOther , err := meta .NewMeta (ctx , & meta.Config {
8888 TerraformVersion : "terraform-tests" ,
8989 HTTPClient : tt .Meta .HTTPClient (),
@@ -131,13 +131,13 @@ func TestAccDataSourceConfig_MixedProfile(t *testing.T) {
131131
132132 ctx := context .Background ()
133133
134- resource .ParallelTest (t , resource.TestCase {
134+ resource .Test (t , resource.TestCase {
135135 PreCheck : func () { acctest .PreCheck (t ) },
136136 ProviderFactories : func () map [string ]func () (* schema.Provider , error ) {
137137 _ = 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" )
141141 metaMixed , err := meta .NewMeta (ctx , & meta.Config {
142142 TerraformVersion : "terraform-tests" ,
143143 HTTPClient : tt .Meta .HTTPClient (),
0 commit comments