Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmichalak committed Jul 19, 2024
1 parent a0b9d44 commit 7c6225d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/datasources/streamlits_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,20 @@ import (
"github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/internal/snowflakeroles"

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

func TestAcc_Streamlits(t *testing.T) {
_ = testenvs.GetOrSkipTest(t, testenvs.EnableAcceptance)
acc.TestAccPreCheck(t)

databaseId := acc.TestClient().Ids.DatabaseId()
schemaId := acc.TestClient().Ids.SchemaId()
id := acc.TestClient().Ids.RandomSchemaObjectIdentifier()
acc.TestAccPreCheck(t)
stage, stageCleanup := acc.TestClient().Stage.CreateStage(t)
t.Cleanup(stageCleanup)
// warehouse is needed because default warehouse uses lowercase, and it fails in snowflake.
Expand Down

0 comments on commit 7c6225d

Please sign in to comment.