1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-03 18:57:35 +01:00
bitwarden-server/test/Core.Test/Services
Matt Gibson edd4bc2623
Add disable send policy (#1130)
* Add Disable Send policy

* Test DisableSend policy

* PR Review

* Update tests for using CurrentContext

This required making an interface for CurrentContext and mocking out
the members used. The interface can be expanded as needed for tests.

I moved CurrentContext to a folder, which changes the namespace
and causes a lot of file touches, but most are just adding a reference

* Fix failing test

* Update exemption to include all exempt users

* Move all CurrentContext usages to ICurrentContext

* PR review. Match messaging with Web
2021-02-04 12:54:21 -06:00
..
AmazonSesMailDeliveryServiceTests.cs formatting 2020-06-18 09:57:24 -04:00
AmazonSqsBlockIpServiceTests.cs Add unit test coverage for AmazonSqsBlockIpService 2020-06-18 10:16:23 -07:00
AzureAttachmentStorageServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
AzureQueueBlockIpServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
AzureQueueEventWriteServiceTests.cs upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
AzureQueuePushNotificationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
CipherServiceTests.cs Add cipher response to restore (#1072) 2021-01-08 08:52:42 -06:00
CollectionServiceTests.cs fix tests 2019-03-02 15:28:32 -05:00
DeviceServiceTests.cs Core.Test with example test using nsub and xunit 2019-01-09 12:31:07 -05:00
EventServiceTests.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
GroupServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
HandlebarsMailServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
InMemoryApplicationCacheServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
InMemoryServiceBusApplicationCacheServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
LicensingServiceTests.cs License expiration email for self-hosted org/premium accounts 2020-05-18 16:06:34 -04:00
LocalAttachmentStorageServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
MailKitSmtpMailDeliveryServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
MultiServicePushNotificationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
NotificationHubPushNotificationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
NotificationHubPushRegistrationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
NotificationsApiPushNotificationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
OrganizationServiceTests.cs Permissions bugs (#1083) 2021-01-13 15:14:28 -05:00
RelayPushNotificationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
RelayPushRegistrationServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
RepositoryEventWriteServiceTests.cs Add basic Core.Services test files (#526) 2019-07-05 20:35:54 -07:00
SendServiceTests.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
StripePaymentServiceTests.cs started charging sales tax on seat/storage upgrades and auto renewals (#1034) 2020-12-09 14:04:46 -05:00
UserServiceTests.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00