mirror of
https://github.com/bitwarden/server.git
synced 2025-06-28 06:36:15 -05:00
cleanup
This commit is contained in:
parent
7f3363cbc7
commit
3a1ed0d81b
@ -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)
|
||||||
|
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user