mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
20 lines
662 B
C#
20 lines
662 B
C#
|
using Bit.Core.Test.AutoFixture.Attributes;
|
|||
|
using Bit.Core.Test.AutoFixture.OrganizationFixtures;
|
|||
|
|
|||
|
namespace Bit.Core.Test.AutoFixture
|
|||
|
{
|
|||
|
internal class GroupOrganizationAutoDataAttribute : CustomAutoDataAttribute
|
|||
|
{
|
|||
|
public GroupOrganizationAutoDataAttribute() : base(
|
|||
|
new SutProviderCustomization(), new Organization { UseGroups = true })
|
|||
|
{ }
|
|||
|
}
|
|||
|
|
|||
|
internal class GroupOrganizationNotUseGroupsAutoDataAttribute : CustomAutoDataAttribute
|
|||
|
{
|
|||
|
public GroupOrganizationNotUseGroupsAutoDataAttribute() : base(
|
|||
|
new SutProviderCustomization(), new Organization { UseGroups = false })
|
|||
|
{ }
|
|||
|
}
|
|||
|
}
|