Skip to content

Commit

Permalink
DXCDT-471: Fix creating org members when member list is empty (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught authored Jun 21, 2023
1 parent 0684384 commit 8c7c2b7
Show file tree
Hide file tree
Showing 2 changed files with 1,842 additions and 795 deletions.
3 changes: 3 additions & 0 deletions internal/auth0/organization/resource_members_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ func TestAccOrganizationMembers(t *testing.T) {
Config: acctest.ParseTestName(testAccOrganizationMembersPreventErasingMembersOnCreate, testName),
ExpectError: regexp.MustCompile("Organization with non empty members"),
},
{
Config: acctest.ParseTestName(testAccOrganizationMembersRemoveAllMembers, testName),
},
{
Config: acctest.ParseTestName(testAccOrganizationMembersWithOneMember, testName),
Check: resource.ComposeTestCheckFunc(
Expand Down
Loading

0 comments on commit 8c7c2b7

Please sign in to comment.