1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/bitwarden_license/test/Scim.Test/Groups
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
..
GetGroupsListQueryTests.cs [EC-507 / EC-508] SCIM CQRS Refactor - Groups/Users (#2344) 2022-10-31 09:58:21 +00:00
PatchGroupCommandTests.cs [EC-654] Create commands for Group Create and Group Update (#2442) 2022-12-12 09:59:48 +00:00
PostGroupCommandTests.cs [EC-654] Create commands for Group Create and Group Update (#2442) 2022-12-12 09:59:48 +00:00
PutGroupCommandTests.cs [EC-654] Create commands for Group Create and Group Update (#2442) 2022-12-12 09:59:48 +00:00