mirror of
https://github.com/bitwarden/server.git
synced 2024-12-04 14:13:28 +01:00
738febf031
* PM-11123: Notification Status Details view * PM-11123: Test Typo * PM-11123: New line missing * PM-11123: Delete unnecessary field * PM-11123: Moved NotificationStatusDetails to Models/Data
21 lines
650 B
C#
21 lines
650 B
C#
#nullable enable
|
|
using AutoFixture;
|
|
using Bit.Core.NotificationCenter.Entities;
|
|
using Bit.Test.Common.AutoFixture.Attributes;
|
|
|
|
namespace Bit.Core.Test.NotificationCenter.AutoFixture;
|
|
|
|
public class NotificationStatusCustomization : ICustomization
|
|
{
|
|
public void Customize(IFixture fixture)
|
|
{
|
|
fixture.Customize<NotificationStatus>(composer => composer.With(ns => ns.NotificationId, Guid.NewGuid())
|
|
.With(ns => ns.UserId, Guid.NewGuid()));
|
|
}
|
|
}
|
|
|
|
public class NotificationStatusCustomizeAttribute : BitCustomizeAttribute
|
|
{
|
|
public override ICustomization GetCustomization() => new NotificationStatusCustomization();
|
|
}
|