From 2f00c6a8f57dc476b46be5adcfdde69a1d916103 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 22 Nov 2023 13:55:38 -0500 Subject: [PATCH] helper/resource: Skip bflad/scaffoldingtest below 1.0 --- helper/resource/testcase_providers_test.go | 4 ++-- helper/resource/teststep_providers_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helper/resource/testcase_providers_test.go b/helper/resource/testcase_providers_test.go index fed0de672..023e76dc4 100644 --- a/helper/resource/testcase_providers_test.go +++ b/helper/resource/testcase_providers_test.go @@ -264,7 +264,7 @@ func TestTest_TestCase_ExternalProviders_NonHashiCorpNamespace(t *testing.T) { Test(t, TestCase{ TerraformVersionChecks: []tfversion.TerraformVersionCheck{ - tfversion.SkipBelow(tfversion.Version0_13_0), // ExternalProvider.Source + tfversion.SkipBelow(tfversion.Version1_0_0), // ExternalProvider.Source is protocol version 6 }, ExternalProviders: map[string]ExternalProvider{ // This can be set to any provider outside the hashicorp namespace. @@ -288,7 +288,7 @@ func TestTest_TestCase_ExternalProvidersAndProviderFactories_NonHashiCorpNamespa Test(t, TestCase{ TerraformVersionChecks: []tfversion.TerraformVersionCheck{ - tfversion.SkipBelow(tfversion.Version0_13_0), // ExternalProvider.Source + tfversion.SkipBelow(tfversion.Version1_0_0), // ExternalProvider.Source is protocol version 6 }, ExternalProviders: map[string]ExternalProvider{ // This can be set to any provider outside the hashicorp namespace. diff --git a/helper/resource/teststep_providers_test.go b/helper/resource/teststep_providers_test.go index 090c2220c..0bad2bebe 100644 --- a/helper/resource/teststep_providers_test.go +++ b/helper/resource/teststep_providers_test.go @@ -978,7 +978,7 @@ func TestTest_TestStep_ExternalProviders_NonHashiCorpNamespace(t *testing.T) { Test(t, TestCase{ TerraformVersionChecks: []tfversion.TerraformVersionCheck{ - tfversion.SkipBelow(tfversion.Version0_13_0), // ExternalProvider.Source + tfversion.SkipBelow(tfversion.Version1_0_0), // ExternalProvider.Source is protocol version 6 }, Steps: []TestStep{ { @@ -1002,7 +1002,7 @@ func TestTest_TestStep_ExternalProvidersAndProviderFactories_NonHashiCorpNamespa Test(t, TestCase{ TerraformVersionChecks: []tfversion.TerraformVersionCheck{ - tfversion.SkipBelow(tfversion.Version0_13_0), // ExternalProvider.Source + tfversion.SkipBelow(tfversion.Version1_0_0), // ExternalProvider.Source is protocol version 6 }, Steps: []TestStep{ {