diff --git a/source/ArchitectureTests/RegistrationTests.cs b/source/ArchitectureTests/RegistrationTests.cs index caf901575..72bacd36a 100644 --- a/source/ArchitectureTests/RegistrationTests.cs +++ b/source/ArchitectureTests/RegistrationTests.cs @@ -38,6 +38,7 @@ using Energinet.DataHub.EDI.Process.Application.Transactions.AggregatedMeasureData; using Energinet.DataHub.EDI.Process.Infrastructure.Configuration.DataAccess; using Energinet.DataHub.EDI.Process.Infrastructure.Configuration.Options; +using Energinet.DataHub.ProcessManager.Client.Extensions.Options; using Energinet.DataHub.Wholesale.Common.Infrastructure.Options; using FluentAssertions; using FluentAssertions.Execution; @@ -76,6 +77,8 @@ public RegistrationTests() Environment.SetEnvironmentVariable($"{EdiDatabricksOptions.SectionName}__{nameof(EdiDatabricksOptions.CatalogName)}", "FakeCatalogName"); Environment.SetEnvironmentVariable($"{nameof(DeltaTableOptions.DatabricksCatalogName)}", "FakeCatalogName"); + Environment.SetEnvironmentVariable($"{ProcessManagerServiceBusClientOptions.SectionName}__{nameof(ProcessManagerServiceBusClientOptions.TopicName)}", "FakeTopicName"); + // Dead-letter logging Environment.SetEnvironmentVariable($"{BlobDeadLetterLoggerOptions.SectionName}__{nameof(BlobDeadLetterLoggerOptions.StorageAccountUrl)}", TestEnvironment.CreateFakeStorageUrl()); Environment.SetEnvironmentVariable($"{BlobDeadLetterLoggerOptions.SectionName}__{nameof(BlobDeadLetterLoggerOptions.ContainerName)}", "fake-container-name");