2022-08-29 15:40:59 +02:00
|
|
|
|
using AutoFixture;
|
2021-04-09 15:48:43 +02:00
|
|
|
|
|
2022-08-29 21:53:48 +02:00
|
|
|
|
namespace Bit.Test.Common.AutoFixture
|
2021-04-09 15:48:43 +02:00
|
|
|
|
{
|
2022-08-29 21:53:48 +02:00
|
|
|
|
public class GlobalSettings : ICustomization
|
2021-04-09 15:48:43 +02:00
|
|
|
|
{
|
2022-08-29 21:53:48 +02:00
|
|
|
|
public void Customize(IFixture fixture)
|
|
|
|
|
{
|
|
|
|
|
fixture.Customize<Bit.Core.Settings.GlobalSettings>(composer => composer
|
|
|
|
|
.Without(s => s.BaseServiceUri)
|
|
|
|
|
.Without(s => s.Attachment)
|
|
|
|
|
.Without(s => s.Send)
|
|
|
|
|
.Without(s => s.DataProtection));
|
|
|
|
|
}
|
2021-04-09 15:48:43 +02:00
|
|
|
|
}
|
|
|
|
|
}
|