1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-17 02:01:53 +01:00
bitwarden-server/test/Core.Test
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
..
AutoFixture Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
IdentityServer Added Services and Utilities Tests to Core.Test project (#1068) 2021-01-06 12:49:28 -06:00
Models [Bug] Fix cipher clone yielding incorrect RevisionDate (#1031) 2020-12-07 19:35:34 -06:00
Services Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
Utilities Added Services and Utilities Tests to Core.Test project (#1068) 2021-01-06 12:49:28 -06:00
Core.Test.csproj Validate cipher updates with revision date (#994) 2020-11-23 08:48:05 -06:00