Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsDue committed Dec 2, 2024
1 parent d5e82be commit a8e37b0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public class MetricNameGenerationTests
"NotifyWholesaleServices",
"NotifyWholesaleServicesResponse",
"RejectRequestWholesaleSettlement",
"MeteredDataForMeasurementPoint",
"MeteredDataForMeasurementPointResponse",
"NotifyValidatedMeasureData",
"NotifyValidatedMeasureDataResponse",
];

private static readonly DocumentType[] _doesNotHaveIncomingMessageResponse =
private static readonly DocumentType[] _isOnlyTriggeredByIncomingMessage =
[
DocumentType.RejectRequestWholesaleSettlement,
DocumentType.RejectRequestAggregatedMeasureData
Expand Down Expand Up @@ -92,7 +92,7 @@ private static List<string> AllMessageGenerationsMetricsNames()
false));

// Some documents are only logged as an outgoing message
if (!_doesNotHaveIncomingMessageResponse.Contains(documentType))
if (!_isOnlyTriggeredByIncomingMessage.Contains(documentType))
{
names.Add(MetricNameMapper.MessageGenerationMetricName(
documentType,
Expand Down

0 comments on commit a8e37b0

Please sign in to comment.