1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

enable default appsettings for self hosted installs (#1263)

* enable default appsettings for self hosted installs

* change setters to use arrow functions

* fix tests

* fix global settings ref
This commit is contained in:
Kyle Spearrin
2021-04-09 09:48:43 -04:00
committed by GitHub
parent c1ceeace95
commit 83e68bce06
16 changed files with 373 additions and 82 deletions

View File

@@ -0,0 +1,16 @@
using AutoFixture;
namespace Bit.Core.Test.AutoFixture
{
internal class GlobalSettings : ICustomization
{
public void Customize(IFixture fixture)
{
fixture.Customize<Settings.GlobalSettings>(composer => composer
.Without(s => s.BaseServiceUri)
.Without(s => s.Attachment)
.Without(s => s.Send)
.Without(s => s.DataProtection));
}
}
}