1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00
bitwarden-server/test/Common/AutoFixture/GlobalSettingsFixtures.cs

16 lines
413 B
C#
Raw Permalink Normal View History

using AutoFixture;
2022-08-29 22:06:55 +02:00
namespace Bit.Test.Common.AutoFixture;
public class GlobalSettings : ICustomization
{
2022-08-29 22:06:55 +02:00
public void Customize(IFixture fixture)
{
2022-08-29 22:06:55 +02:00
fixture.Customize<Bit.Core.Settings.GlobalSettings>(composer => composer
.Without(s => s.BaseServiceUri)
.Without(s => s.Attachment)
.Without(s => s.Send)
.Without(s => s.DataProtection));
}
}