From 87e25ac0fa663aa6ac9da662d983bffdf51d7dbd Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Sun, 24 Nov 2024 20:52:16 -0600 Subject: [PATCH] Fixed unit test, enabling the ReferenceLinks feature for the GetEntitiesBase unit test around generated HQL queries. --- .../Repositories/GetEntitiesByIdsTests.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByIdsTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByIdsTests.cs index d4fc1ef5ff..628bc77fa7 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByIdsTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByIdsTests.cs @@ -270,8 +270,18 @@ protected override void Act() _sessionFactory, _domainModelProvider, _parameterListSetter, - _contextProvider, - new ApiSettings(), + _contextProvider, + new ApiSettings() + { + Features = + [ + new() + { + Name = "ReferenceLinks", + IsEnabled = true + } + ] + }, new SqlServerDialect(), DatabaseEngine.SqlServer, Stub());