Open JanPalasek opened 4 years ago
AddPermissionsToUserAsync behaves like this: If we add permissions to user that already has it, it throws no error. It should be reexamined whether this is expected behaviour and same behaviour should be implemented in AddPermissionsToRoleAsync.
Furthermore many more tests should be written to cover at least the more difficult functionality. Basic GetAll etc probably do not need to be tested.
New unit tests should be written to cover repositories + services at least.