1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

[PM-17474] Remove unused feature flag for device approval request admin notifications (#5615)

This commit is contained in:
Rui Tomé
2025-04-07 15:22:09 +01:00
committed by GitHub
parent 7139effa94
commit 56915ec322
2 changed files with 1 additions and 6 deletions

View File

@ -398,7 +398,7 @@ public class AuthRequestServiceTests
[Theory, BitAutoData]
public async Task CreateAuthRequestAsync_AdminApproval_WithAdminNotifications_AndNoAdminEmails_ShouldNotSendNotificationEmails(
public async Task CreateAuthRequestAsync_AdminApproval_AndNoAdminEmails_ShouldNotSendNotificationEmails(
SutProvider<AuthRequestService> sutProvider,
AuthRequestCreateRequestModel createModel,
User user,
@ -408,10 +408,6 @@ public class AuthRequestServiceTests
user.Email = createModel.Email;
organizationUser1.UserId = user.Id;
sutProvider.GetDependency<IFeatureService>()
.IsEnabled(FeatureFlagKeys.DeviceApprovalRequestAdminNotifications)
.Returns(true);
sutProvider.GetDependency<IUserRepository>()
.GetByEmailAsync(user.Email)
.Returns(user);