Skip to content

Commit

Permalink
use SkipBelow instead of require
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Dec 6, 2024
1 parent ac01519 commit a0b31ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/knownvalue"
"github.com/hashicorp/terraform-plugin-testing/statecheck"
"github.com/hashicorp/terraform-plugin-testing/tfjsonpath"
"github.com/hashicorp/terraform-plugin-testing/tfversion"
)

func TestAccEpehemeralTokenRequest_basic(t *testing.T) {
Expand All @@ -19,7 +20,7 @@ func TestAccEpehemeralTokenRequest_basic(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
tfversion.RequireVersion("1.10.0"),
tfversion.SkipBelow(tfversion.Version1_10_0),
},
Steps: []resource.TestStep{
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/knownvalue"
"github.com/hashicorp/terraform-plugin-testing/statecheck"
"github.com/hashicorp/terraform-plugin-testing/tfjsonpath"
"github.com/hashicorp/terraform-plugin-testing/tfversion"
)

func TestAccEpehemeralCertificateSigningRequest_basic(t *testing.T) {
Expand All @@ -18,7 +19,7 @@ func TestAccEpehemeralCertificateSigningRequest_basic(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
tfversion.RequireVersion("1.10.0"),
tfversion.SkipBelow(tfversion.Version1_10_0),
},
Steps: []resource.TestStep{
{
Expand Down

0 comments on commit a0b31ef

Please sign in to comment.