Documentation ¶
Index ¶
Constants ¶
View Source
const ( // providerConfig is a shared configuration to combine with the actual test configuration so the Stytch client is // properly configured. The tester should set the STYTCH_ environment variables for the workspace key and secret to // allow the tests to run properly. ProviderConfig = `provider "stytch" {}` )
Variables ¶
View Source
var B2BProjectConfig = `
resource "stytch_project" "project" {
name = "test-b2b"
vertical = "B2B"
}`
View Source
var ConsumerProjectConfig = `
resource "stytch_project" "project" {
name = "test"
vertical = "CONSUMER"
}`
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "stytch": providerserver.NewProtocol6WithError(provider.New("test")()), }
testAccProtoV6ProviderFactories are used to instantiate a provider during acceptance testing. The factory function will be invoked for every Terraform CLI command executed to create a provider server to which the CLI can reattach.
Functions ¶
This section is empty.
Types ¶
type ErrorCase ¶ added in v0.0.5
func (*ErrorCase) AssertAnyError ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.