mirror of
https://github.com/bitwarden/server.git
synced 2025-02-18 02:11:22 +01:00
19 lines
537 B
C#
19 lines
537 B
C#
|
using System;
|
|||
|
using System.Linq;
|
|||
|
using AutoFixture;
|
|||
|
|
|||
|
namespace Bit.Test.Common.AutoFixture.Attributes
|
|||
|
{
|
|||
|
public class SutProviderCustomizeAttribute : BitCustomizeAttribute
|
|||
|
{
|
|||
|
public override ICustomization GetCustomization() => new SutProviderCustomization();
|
|||
|
}
|
|||
|
|
|||
|
public class SutAutoDataAttribute : CustomAutoDataAttribute
|
|||
|
{
|
|||
|
public SutAutoDataAttribute(params Type[] iCustomizationTypes) : base(
|
|||
|
iCustomizationTypes.Append(typeof(SutProviderCustomization)).ToArray())
|
|||
|
{ }
|
|||
|
}
|
|||
|
}
|