From 7d5e3736f0cb00cd0f74ab407c3dd7494805bf1b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 6 May 2019 21:52:21 -0400 Subject: [PATCH] fix tests --- test/Core.Test/Services/OrganizationServiceTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Core.Test/Services/OrganizationServiceTests.cs b/test/Core.Test/Services/OrganizationServiceTests.cs index ebf10f75c2..554ad9ce5e 100644 --- a/test/Core.Test/Services/OrganizationServiceTests.cs +++ b/test/Core.Test/Services/OrganizationServiceTests.cs @@ -63,7 +63,7 @@ namespace Bit.Core.Test.Services newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "a@test.com", ExternalId = "a" }); newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "b@test.com", ExternalId = "b" }); newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "c@test.com", ExternalId = "c" }); - await orgService.ImportAsync(id, userId, null, newUsers, null); + await orgService.ImportAsync(id, userId, null, newUsers, null, false); await orgUserRepo.DidNotReceive().UpsertAsync(Arg.Any()); await orgUserRepo.Received(2).CreateAsync(Arg.Any()); @@ -121,7 +121,7 @@ namespace Bit.Core.Test.Services newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "a@test.com", ExternalId = "a" }); newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "b@test.com", ExternalId = "b" }); newUsers.Add(new Models.Business.ImportedOrganizationUser { Email = "c@test.com", ExternalId = "c" }); - await orgService.ImportAsync(id, userId, null, newUsers, null); + await orgService.ImportAsync(id, userId, null, newUsers, null, false); await orgUserRepo.Received(1).UpsertAsync(Arg.Any()); await orgUserRepo.Received(2).CreateAsync(Arg.Any());