Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Aug 20, 2024
1 parent b26d5fc commit 53033bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ resource "snowflake_external_function" "external_function" {
url_of_proxy_and_resource = var.url_of_proxy_and_resource
}

data "snowflake_external_functions" "external_functions" {}
data "snowflake_external_functions" "external_functions" {
depends_on = [snowflake_external_function.external_function]
}
2 changes: 1 addition & 1 deletion pkg/resources/external_function_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func TestAcc_ExternalFunction_no_arguments(t *testing.T) {
}

func TestAcc_ExternalFunction_complete(t *testing.T) {
id := acc.TestClient().Ids.RandomSchemaObjectIdentifier()
id := acc.TestClient().Ids.RandomSchemaObjectIdentifierWithArguments()

m := func() map[string]config.Variable {
return map[string]config.Variable{
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/procedure_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
func testAccProcedure(t *testing.T, configDirectory string, args ...sdk.DataType) {
t.Helper()

oldId := acc.TestClient().Ids.RandomSchemaObjectIdentifierWithArgumentsOld(args...)
newId := acc.TestClient().Ids.RandomSchemaObjectIdentifierWithArgumentsOld(args...)
oldId := acc.TestClient().Ids.RandomSchemaObjectIdentifierWithArguments(args...)
newId := acc.TestClient().Ids.RandomSchemaObjectIdentifierWithArguments(args...)

resourceName := "snowflake_procedure.p"
m := func() map[string]config.Variable {
Expand Down

0 comments on commit 53033bb

Please sign in to comment.