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); } }