Skip to content

Commit

Permalink
helper/resource: Skip bflad/scaffoldingtest below 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Nov 22, 2023
1 parent 1043d6f commit 2f00c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions helper/resource/testcase_providers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions helper/resource/teststep_providers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand All @@ -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{
{
Expand Down

0 comments on commit 2f00c6a

Please sign in to comment.