Skip to content

Commit

Permalink
Fix test (temporarily)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed Nov 7, 2024
1 parent 3096dca commit 1ff9b6d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ import (

acc "github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/acceptance"

"github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/acceptance/testenvs"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

// TODO [SNOW-1423486]: Fix using warehouse; remove unsetting testenvs.ConfigureClientOnce
func TestAcc_UserPasswordPolicyAttachment(t *testing.T) {
t.Setenv(string(testenvs.ConfigureClientOnce), "")
_ = testenvs.GetOrSkipTest(t, testenvs.EnableAcceptance)
acc.TestAccPreCheck(t)

userId := acc.TestClient().Ids.RandomAccountObjectIdentifier()
userName := userId.Name()
newUserId := acc.TestClient().Ids.RandomAccountObjectIdentifier()
Expand Down

0 comments on commit 1ff9b6d

Please sign in to comment.