1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-28 06:36:15 -05:00
This commit is contained in:
Brandon 2025-06-09 16:24:21 -04:00
parent 7f3363cbc7
commit 3a1ed0d81b
No known key found for this signature in database
GPG Key ID: A0E0EF0B207BA40D
2 changed files with 6 additions and 7 deletions

View File

@ -1082,12 +1082,12 @@ public class OrganizationService : IOrganizationService
} }
public async Task ImportAsync(Guid organizationId, public async Task ImportAsync(Guid organizationId,
IEnumerable<ImportedGroup> groups, IEnumerable<ImportedGroup> groups,
IEnumerable<ImportedOrganizationUser> newUsers, IEnumerable<ImportedOrganizationUser> newUsers,
IEnumerable<string> removeUserExternalIds, IEnumerable<string> removeUserExternalIds,
bool overwriteExisting, bool overwriteExisting,
EventSystemUser eventSystemUser EventSystemUser eventSystemUser
) )
{ {
var organization = await GetOrgById(organizationId); var organization = await GetOrgById(organizationId);
if (organization == null) if (organization == null)

View File

@ -165,7 +165,6 @@ public class OrganizationServiceTests
events.Count(e => e.Item2 == EventType.OrganizationUser_Invited) == expectedNewUsersCount)); events.Count(e => e.Item2 == EventType.OrganizationUser_Invited) == expectedNewUsersCount));
} }
[Theory] [Theory]
[OrganizationInviteCustomize(InviteeUserType = OrganizationUserType.User, [OrganizationInviteCustomize(InviteeUserType = OrganizationUserType.User,
InvitorUserType = OrganizationUserType.Owner), OrganizationCustomize, BitAutoData] InvitorUserType = OrganizationUserType.Owner), OrganizationCustomize, BitAutoData]