diff --git a/auth0/resource_auth0_hook_test.go b/auth0/resource_auth0_hook_test.go index e0694331..b03dfcbc 100644 --- a/auth0/resource_auth0_hook_test.go +++ b/auth0/resource_auth0_hook_test.go @@ -61,7 +61,7 @@ func TestAccHookSecrets(t *testing.T) { Config: testAccHookSecrets2("gamma", "kappa"), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_hook.my_hook", "name", "pre-user-reg-hook"), - resource.TestCheckResourceAttr("auth0_hook.my_hook", "dependencies.auth0", "2.30.0"), + resource.TestCheckResourceAttr("auth0_hook.my_hook", "dependencies.auth0", "2.30.0"), resource.TestCheckResourceAttr("auth0_hook.my_hook", "script", "function (user, context, callback) { callback(null, { user }); }"), resource.TestCheckResourceAttr("auth0_hook.my_hook", "trigger_id", "pre-user-registration"), resource.TestCheckResourceAttr("auth0_hook.my_hook", "enabled", "true"), @@ -91,7 +91,10 @@ resource "auth0_hook" "my_hook" { script = "function (user, context, callback) { callback(null, { user }); }" trigger_id = "pre-user-registration" enabled = true - secrets = { + dependencies = { + auth0 = "2.30.0" + } + secrets = { foo = "%s" } }