From 5d5febc94bba15b1cfbaeba2b5afbb78c42982f0 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Thu, 4 Nov 2021 14:46:59 -0400 Subject: [PATCH] Write valid json for test entries --- .../Core.Test/AutoFixture/OrganizationSponsorshipFixtures.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Core.Test/AutoFixture/OrganizationSponsorshipFixtures.cs b/test/Core.Test/AutoFixture/OrganizationSponsorshipFixtures.cs index 4a1704ed2..7c39ca097 100644 --- a/test/Core.Test/AutoFixture/OrganizationSponsorshipFixtures.cs +++ b/test/Core.Test/AutoFixture/OrganizationSponsorshipFixtures.cs @@ -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) { } } }