1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Verify Send file does not exist before saving file (#1515)

* Verify Send file does not exist before saving file

* Fix flaky test
This commit is contained in:
Matt Gibson
2021-08-17 09:37:00 -04:00
committed by GitHub
parent 48aa54949b
commit 1779d33a66
2 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,7 @@ namespace Bit.Core.Test.Services
List<ImportedOrganizationUser> newUsers)
{
org.UseDirectory = true;
org.Seats = newUsers.Count + existingUsers.Count + 1;
var reInvitedUser = existingUsers.First();
reInvitedUser.ExternalId = null;
newUsers.Add(new ImportedOrganizationUser