Skip to content

Commit

Permalink
Fix creating org members when member list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Jun 20, 2023
1 parent 0684384 commit c5232c5
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 c5232c5

Please sign in to comment.