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:
16
test/Core.Test/AutoFixture/GlobalSettingsFixtures.cs
Normal file
16
test/Core.Test/AutoFixture/GlobalSettingsFixtures.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user