Skip to content

Commit

Permalink
feat: Allow creation of saml2 integrations (chanzuckerberg#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
intinfinite committed Jan 4, 2022
1 parent 6884748 commit 6773ce3
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/resources/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@ func apiIntegration(t *testing.T, id string, params map[string]interface{}) *sch
return d
}

func samlIntegration(t *testing.T, id string, params map[string]interface{}) *schema.ResourceData {
r := require.New(t)
d := schema.TestResourceDataRaw(t, resources.SAMLIntegration().Schema, params)
r.NotNil(d)
d.SetId(id)
return d
}

func scimIntegration(t *testing.T, id string, params map[string]interface{}) *schema.ResourceData {
r := require.New(t)
d := schema.TestResourceDataRaw(t, resources.SCIMIntegration().Schema, params)
Expand Down
Loading

0 comments on commit 6773ce3

Please sign in to comment.