diff --git a/test/Core.Test/Models/Business/OrganizationLicenseTests.cs b/test/Core.Test/Models/Business/OrganizationLicenseTests.cs index d5067a2e5..c2eb0dd93 100644 --- a/test/Core.Test/Models/Business/OrganizationLicenseTests.cs +++ b/test/Core.Test/Models/Business/OrganizationLicenseTests.cs @@ -39,6 +39,10 @@ public class OrganizationLicenseTests public void OrganizationLicense_LoadedFromDisk_VerifyData_Passes(int licenseVersion) { var license = OrganizationLicenseFileFixtures.GetVersion(licenseVersion); + + // These licenses will naturally expire over time, but we still want them to be able to test + license.Expires = DateTime.MaxValue; + var organization = OrganizationLicenseFileFixtures.OrganizationFactory(); var globalSettings = Substitute.For(); globalSettings.Installation.Returns(new GlobalSettings.InstallationSettings