mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
Write valid json for test entries
This commit is contained in:
parent
d93fcf432f
commit
5d5febc94b
@ -7,6 +7,7 @@ using Bit.Core.Test.AutoFixture.EntityFrameworkRepositoryFixtures;
|
||||
using Bit.Test.Common.AutoFixture;
|
||||
using Bit.Test.Common.AutoFixture.Attributes;
|
||||
using Bit.Core.Test.AutoFixture.OrganizationUserFixtures;
|
||||
using Bit.Core.Test.AutoFixture.OrganizationFixtures;
|
||||
|
||||
namespace Bit.Core.Test.AutoFixture.OrganizationSponsorshipFixtures
|
||||
{
|
||||
@ -46,14 +47,14 @@ namespace Bit.Core.Test.AutoFixture.OrganizationSponsorshipFixtures
|
||||
|
||||
internal class EfOrganizationSponsorshipAutoDataAttribute : CustomAutoDataAttribute
|
||||
{
|
||||
public EfOrganizationSponsorshipAutoDataAttribute() : base(new SutProviderCustomization(), new EfOrganizationSponsorship())
|
||||
public EfOrganizationSponsorshipAutoDataAttribute() : base(new SutProviderCustomization(), new EfOrganizationSponsorship(), new EfOrganization())
|
||||
{ }
|
||||
}
|
||||
|
||||
internal class InlineEfOrganizationSponsorshipAutoDataAttribute : InlineCustomAutoDataAttribute
|
||||
{
|
||||
public InlineEfOrganizationSponsorshipAutoDataAttribute(params object[] values) : base(new[] { typeof(SutProviderCustomization),
|
||||
typeof(EfOrganizationSponsorship) }, values)
|
||||
typeof(EfOrganizationSponsorship), typeof(EfOrganization) }, values)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user