From a5c9a8c7ddfd3cc547b04f6621a95593be260779 Mon Sep 17 00:00:00 2001 From: jrmccannon Date: Thu, 20 Mar 2025 10:30:24 -0500 Subject: [PATCH] This is unneeded for restore --- .../OrganizationUsers/RestoreOrganizationUserCommandTests.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/RestoreOrganizationUserCommandTests.cs b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/RestoreOrganizationUserCommandTests.cs index 771d763095..bf2e04b512 100644 --- a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/RestoreOrganizationUserCommandTests.cs +++ b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/RestoreOrganizationUserCommandTests.cs @@ -1,6 +1,5 @@ using Bit.Core.AdminConsole.Entities; using Bit.Core.AdminConsole.Enums; -using Bit.Core.AdminConsole.OrganizationFeatures.OrganizationUsers.Interfaces; using Bit.Core.AdminConsole.OrganizationFeatures.OrganizationUsers.RestoreOrganizationUser; using Bit.Core.AdminConsole.Services; using Bit.Core.Auth.UserFeatures.TwoFactorAuth.Interfaces; @@ -694,8 +693,5 @@ public class RestoreOrganizationUserCommandTests requestingOrganizationUser is { Type: OrganizationUserType.Owner }); sutProvider.GetDependency().ManageUsers(organization.Id).Returns( requestingOrganizationUser is { Type: OrganizationUserType.Owner or OrganizationUserType.Admin }); - sutProvider.GetDependency() - .HasConfirmedOwnersExceptAsync(organization.Id, Arg.Any>()) - .Returns(true); } }