1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/test/Core.Test/Services
Rui Tomé e042360c00
[EC-654] Create commands for Group Create and Group Update (#2442)
* [EC-654] Add CreateGroupCommand and UpdateGroupCommand

Added new CQRS commands CreateGroupCommand and UpdateGroupCommand
Updated GroupService to use new commands
Edited existing GroupServiceTests and added new tests for the new commands

* [EC-654] dotnet format

* [EC-654] Replace GroupService.SaveAsync with CreateGroup and UpdateGroup commands

* [EC-654] Add assertions to check calls on IReferenceEventService

* [EC-654] Use AssertHelper.AssertRecent for DateTime properties

* [EC-654] Extracted database reads from CreateGroupCommand and UpdateGroupCommand. Added unit tests.

* [EC-654] Changed CreateGroupCommand and UpdateGroupCommand Validate method to private
2022-12-12 09:59:48 +00:00
..
AmazonSesMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AmazonSqsBlockIpServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AppleIapServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureAttachmentStorageServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueueBlockIpServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueueEventWriteServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueuePushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
CipherServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
CollectionServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
DeviceServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
EmergencyAccessServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
EventServiceTests.cs [EC-449] Event log user for SCIM events (#2306) 2022-11-09 12:13:29 +00:00
GroupServiceTests.cs [EC-654] Create commands for Group Create and Group Update (#2442) 2022-12-12 09:59:48 +00:00
HandlebarsMailServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
InMemoryApplicationCacheServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
InMemoryServiceBusApplicationCacheServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
LicensingServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
LocalAttachmentStorageServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
MailKitSmtpMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
MultiServicePushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
NotificationHubPushNotificationServiceTests.cs [SG-419] Added logging to mobile push notifications (#2332) 2022-10-19 10:22:40 -04:00
NotificationHubPushRegistrationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
NotificationsApiPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
OrganizationServiceTests.cs [EC-343] Gate custom permissions behind enterprise plan (#2352) 2022-12-06 09:50:08 +00:00
PolicyServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RelayPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RelayPushRegistrationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RepositoryEventWriteServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
SendGridMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
SendServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
SsoConfigServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
StripePaymentServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00
UserServiceTests.cs Feature/bit auto data (#2219) 2022-08-31 08:38:35 -05:00